summaryrefslogtreecommitdiff
path: root/tools/perf/python/stackcollapse.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2026-09-24 16:27:57 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-09-25 18:14:22 +0200
commit010147f87a0c0e940fe8bf14abbd20c0224d58de (patch)
tree687797b9e467f49af5190cb379a97c0c21ed4186 /tools/perf/python/stackcollapse.py
parent02ee4666a0cdeaa1cda4c46293aa367a344971ca (diff)
downloadlinux-next-010147f87a0c0e940fe8bf14abbd20c0224d58de.tar.gz
linux-next-010147f87a0c0e940fe8bf14abbd20c0224d58de.zip
perf mem record: Request PERF_SAMPLE_CPU by default
The data type profiling per-sample stream keys cross-CPU contention on sample->cpu, which without PERF_SAMPLE_CPU is the "no CPU info" sentinel, making same-instance accesses from different cores indistinguishable from same-CPU traffic. 'perf mem record' already passes -d and -W to the record parser, add --sample-cpu and document it in perf-mem(1). Also grow rec_argv: the new entry overflows it on PMUs with separate load and store events, as the space for the fixed arguments was not reserved. Reviewed-by: Ian Rogers <irogers@google.com> Reviewed-by: Namhyung Kim <namhyung@kernel.org> Assisted-by: LLM Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions