summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@arm.com>2026-07-02 20:51:41 +0100
committerNamhyung Kim <namhyung@kernel.org>2026-07-03 16:51:59 -0700
commitea5075e3776846d4941dddf1549426ebd3feb81f (patch)
treeb511e8d34d449bc92f8114f76345469c1e758ecf /tools/perf/scripts/python/stackcollapse.py
parent3ea91599b7b6e05cd21dfa1214f251dfe7770468 (diff)
perf cs-etm: Flush thread stacks after decoder reset
Perf resets the CoreSight decoder when moving to a new AUX trace buffer, this causes trace discontinunity globally. For callchain synthesis, keeping thread-stack state after decoder reset can leave stale call/return history attached to threads that are decoded later, producing incorrect synthesized callchains. Flush all host thread stacks after a decoder reset. When virtualization is present, flush the guest thread stacks as well. Reviewed-by: James Clark <james.clark@linaro.org> Signed-off-by: Leo Yan <leo.yan@arm.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions