aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorShawn M. Chapla <[email protected]>2022-05-26 16:14:47 -0400
committerArnaldo Carvalho de Melo <[email protected]>2022-06-23 11:54:21 -0300
commit924a221581db557f6c61b93fe5f25893a74bc3ea (patch)
tree70c21c95f624b77f9c86dde951efb58f2125a4b4 /tools/perf/scripts/python/libxed.py
parent399bd66e219e331976fe6fa6ab81a023c0c97870 (diff)
perf data convert: Prefer sampled CPU when exporting JSON
When CPU has been explicitly sampled (via --sample-cpu), prefer this sampled value over the thread CPU value when exporting to JSON. Signed-off-by: Shawn M. Chapla <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions