diff options
author | Ian Rogers <[email protected]> | 2024-02-29 21:36:40 -0800 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2024-03-03 22:51:18 -0800 |
commit | f178ffdf7ee5bf809837161002719e19eebff895 (patch) | |
tree | e4b0354890476358153cfea5225a9bc9f73622c9 /tools/perf/util/trace-event-scripting.c | |
parent | 2f1e20feb9944d0dd50906819227e99e1a26f78c (diff) |
perf trace: Ignore thread hashing in summary
Commit 91e467bc568f ("perf machine: Use hashtable for machine
threads") made the iteration of thread tids unordered. The perf trace
--summary output sorts and prints each hash bucket, rather than all
threads globally. Change this behavior by turn all threads into a
list, sort the list by number of trace events then by tids, finally
print the list. This also allows the rbtree in threads to be not
accessed outside of machine.
Signed-off-by: Ian Rogers <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Yang Jihong <[email protected]>
Cc: Oliver Upton <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions