summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHongfu Li <lihongfu@kylinos.cn>2026-07-13 17:36:26 +0800
committerNamhyung Kim <namhyung@kernel.org>2026-07-15 11:16:41 -0700
commitd30f2d869b6a2e985351867424037eb7bcb57386 (patch)
treeafb93c4bbc4788fa42f8eb1d3db5ed244022873e /tools/perf/scripts/python/stackcollapse.py
parentea46211d7e9a2210b62c40e56b2d6540c0b4b083 (diff)
perf doc: Fix mmap failure checks in topdown example
Use MAP_FAILED instead of NULL to detect mmap errors, and fix the slots_p variable name typo in the sample code. Signed-off-by: Hongfu Li <lihongfu@kylinos.cn> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions