lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 30 Aug 2018 08:32:09 +0200 From: Jiri Olsa <jolsa@...nel.org> To: Arnaldo Carvalho de Melo <acme@...nel.org> Cc: lkml <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...nel.org>, Namhyung Kim <namhyung@...nel.org>, David Ahern <dsahern@...il.com>, Alexander Shishkin <alexander.shishkin@...ux.intel.com>, Peter Zijlstra <a.p.zijlstra@...llo.nl>, Andi Kleen <andi@...stfloor.org> Subject: [PATCH 00/43] perf stat: Make some of the stat code generic hi, while going for the ability to store/display stat data in perf record/top I ended up with bunch of generic patches that make some of the stat functions standalone and simplify/reduce the builtin-stat.c code. This patchset mostly separates the display functions into separate object, plus several other functions. Also available in here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/fixes thanks, jirka --- Jiri Olsa (43): perf stat: Use evsel->threads in create_perf_stat_counter perf stat: Move initial_delay into struct perf_stat_config perf stat: Move no_inherit into struct perf_stat_config perf stat: Use local config arg for scale in create_perf_stat_counter perf stat: Add identifier flag into struct stat_opts perf tools: Switch session argument to evlist in perf_event__synthesize_attrs perf tools: Add perf_evsel__store_ids function perf stat: Move create_perf_stat_counter into stat.c perf stat: Rename is_pipe argument to attrs perf_stat_synthesize_config perf stat: Add struct perf_stat_config argument to perf_stat_synthesize_config perf stat: Add struct perf_tool argument to perf_stat_synthesize_config perf stat: Add struct perf_evlist argument to perf_stat_synthesize_config perf stat: Add perf_event__handler_t argument to perf_stat_synthesize_config perf stat: Move perf_stat_synthesize_config into stat.c perf stat: Add perf_evlist__print_counters function perf stat: Move STAT_RECORD out of perf_evlist__print_counters perf stat: Add stat_config argument to perf_evlist__print_counters perf stat: Pass stat_config argument to local print functions perf stat: Pass stat_config argument to global print functions perf stat: Move csv_* into struct perf_stat_config perf stat: Move interval_clear into struct perf_stat_config perf stat: Move metric_only into struct perf_stat_config perf stat: Move unit_width into struct perf_stat_config perf stat: Add target argument to perf_evlist__print_counters perf stat: Pass evlist argument to print functions perf stat: Use evsel->evlist instead of evsel_list in collect_all_aliases perf stat: Move run_count into struct perf_stat_config perf stat: Move metric_only_len into struct perf_stat_config perf stat: Pass stat_config to first_shadow_cpu perf stat: Pass evlist to aggr_update_shadow perf stat: Add walltime_nsecs_stats pointer into struct perf_stat_config perf stat: Move null_run into struct perf_stat_config perf stat: Move print_free_counters_hint into struct perf_stat_config perf stat: Move print_mixed_hw_group_error into struct perf_stat_config perf stat: Move ru_* data into struct perf_stat_config perf stat: Move *_aggr_* data into struct perf_stat_config perf stat: Do not use glovab evsel_list in print functions perf stat: Move big_num data into struct perf_stat_config perf stat: Move no_merge data into struct perf_stat_config perf stat: Propagate struct target arg to sort_aggr_thread perf stat: Move walltime_* data into struct perf_stat_config perf stat: Move metric_events into struct perf_stat_config perf stat: Move display functions into stat-display.c tools/perf/builtin-record.c | 2 +- tools/perf/builtin-script.c | 8 +- tools/perf/builtin-stat.c | 1440 +++++++++-------------------------------------------------------------------------------------------------------------- tools/perf/util/Build | 1 + tools/perf/util/evsel.c | 29 +++ tools/perf/util/evsel.h | 1 + tools/perf/util/header.c | 6 +- tools/perf/util/header.h | 2 +- tools/perf/util/stat-display.c | 1166 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tools/perf/util/stat-shadow.c | 147 +++++++------ tools/perf/util/stat.c | 95 ++++++++ tools/perf/util/stat.h | 72 +++++- 12 files changed, 1545 insertions(+), 1424 deletions(-) create mode 100644 tools/perf/util/stat-display.c
Powered by blists - more mailing lists