diff options
author | 2024-02-29 21:36:40 -0800 | |
---|---|---|
committer | 2024-03-03 22:51:18 -0800 | |
commit | f178ffdf7ee5bf809837161002719e19eebff895 (patch) | |
tree | e4b0354890476358153cfea5225a9bc9f73622c9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf report: Sort child tasks by tid (diff) | |
download | wireguard-linux-f178ffdf7ee5bf809837161002719e19eebff895.tar.xz wireguard-linux-f178ffdf7ee5bf809837161002719e19eebff895.zip |
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 <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Yang Jihong <yangjihong1@huawei.com>
Cc: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240301053646.1449657-3-irogers@google.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions