Skip to content

perf stat: Small random cleanups (v1)

Namhyung Kim linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6perf stat: Convert perf_stat_evsel.res_stats arraytools/perf/util/stat-display.c tools/perf/util/stat.c tools/perf/util/stat.h+5 -91 reply
2/6perf stat: Don't call perf_stat_evsel_id_init() repeatedlytools/perf/util/stat.c+1 -11 reply
3/6perf stat: Rename saved_value->cpu_map_idxtools/perf/util/stat-shadow.c+154 -1543 replies
4/6perf stat: Use thread map index for shadow stattools/perf/util/stat-display.c tools/perf/util/stat.c+11 -173 replies
5/6perf stat: Kill unused per-thread runtime statstools/perf/builtin-stat.c tools/perf/util/stat.h+0 -561 reply
6/6perf stat: Don't compare runtime stat for shadow statstools/perf/util/stat-shadow.c+0 -121 reply

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchJames Clark
1/6R-b
2/6R-b
3/6
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCHSET 0/6] perf stat: Small random cleanups (v1)

Hello,

I'm working on perf stat and I found some items to clean up. This time I removed runtime stats for per-thread aggregation mode which we can simply use thread map index to compare the shadow stat values in the rt_stat.

The code is available at 'perf/stat-cleanup-v1' branch in

git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

Thanks,
Namhyung

Namhyung Kim (6):
perf stat: Convert perf_stat_evsel.res_stats array perf stat: Don't call perf_stat_evsel_id_init() repeatedly perf stat: Rename saved_value->cpu_map_idx
perf stat: Use thread map index for shadow stat perf stat: Kill unused per-thread runtime stats perf stat: Don't compare runtime stat for shadow stats

 tools/perf/builtin-stat.c      |  54 ------
 tools/perf/util/stat-display.c |  22 ++-
 tools/perf/util/stat-shadow.c  | 320 ++++++++++++++++-----------------
 tools/perf/util/stat.c         |  20 +--
 tools/perf/util/stat.h         |   4 +-
 5 files changed, 171 insertions(+), 249 deletions(-)

base-commit: 62e64c9d2fd12839c02f1b3e8b873e7cb34e8720

Signature · 1 line
2.37.3.998.g577e59143f-goog