aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/subcmd/help.c
diff options
context:
space:
mode:
authorJames Clark <[email protected]>2023-06-12 11:13:59 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-06-12 21:18:13 +0000
commitd67d8c87d0e3c808e6c716ab59f981f7d0ec2cbd (patch)
tree793a49e9e4500e1d3338b015c4fbcf56d8a42951 /tools/lib/subcmd/help.c
parentperf cs-etm: Only track threads instead of PID and TIDs (diff)
downloadkernel-d67d8c87d0e3c808e6c716ab59f981f7d0ec2cbd.tar.gz
kernel-d67d8c87d0e3c808e6c716ab59f981f7d0ec2cbd.zip
perf cs-etm: Use previous thread for branch sample source IP
Branch samples currently use the IP of the previous packet as the from IP, and the IP of the current packet as the to IP. But it incorrectly uses the current thread. In some cases like a jump into a different exception level this will attribute to the incorrect process. Fix it by tracking the previous thread in the same way the previous packet is tracked. Committer notes: Resolved conflicts with: perf addr_location: Add init/exit/copy functions perf thread: Add accessor functions for thread Reviewed-by: Mike Leach <[email protected]> Signed-off-by: James Clark <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Suzuki Poulouse <[email protected]> Cc: Will Deacon <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/subcmd/help.c')
0 files changed, 0 insertions, 0 deletions