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

From: James Clark
Date: Mon Jun 26 2023 - 12:11:14 EST


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