[PATCH 0/2] perf cs-etm: Track exception level fixups

James Clark james.clark at arm.com
Mon Jun 26 09:10:56 PDT 2023


A couple of changes related to edge cases since commit 8d3031d39fe8
("perf cs-etm: Track exception level").

I think the second one is low risk seeing as any path requiring a thread
leading up to adding to the histogram would already have been crashing.
Maybe the thread check could also be added to hist_entry_iter__add()
although other users of it don't seem to have the same issue, and there
is another use of al.thread above in builtin-report.c so it's probably
ok where I've added it.

Applies to perf-tools-next/perf-tools-next (929ff679b69)

James Clark (2):
  perf cs-etm: Handle per-thread mode on EL1 host kernel case
  perf report: Don't add to histogram when there is no thread found

 tools/perf/builtin-report.c |  3 +++
 tools/perf/util/cs-etm.c    | 11 +++++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)


base-commit: 929ff679b694f0f9656aec38b3a7d5c440c5ca24
-- 
2.34.1




More information about the linux-arm-kernel mailing list