diff options
author | Ian Rogers <irogers@google.com> | 2024-06-04 23:38:27 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-06-07 12:59:53 -0700 |
commit | 0dddd91ab68fed4fe12b69fe225cb00a4ea16126 (patch) | |
tree | 2f18e0491f9858582a791be4893503a6ffc2e9f5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d2307fd4f9895b44361d491f8bf474866b8351a2 (diff) |
perf stat: Make options local
Reduce the scope of stat_options to cmd_stat, and pass as an argument
to __cmd_record. This is done to make more localized changes to the
options in later patches. A side-effect of the change is to reduce the
size of a stripped PIE perf binary by 5952 bytes. The savings come
mainly in the dynamic relocation section.
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Stephane Eranian <eranian@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240605063828.195700-1-irogers@google.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions