aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2024-06-11 05:06:26 +0000
committerNamhyung Kim <[email protected]>2024-06-14 03:45:31 +0000
commit6c1785cd75ef55a308701813330a162002ffe192 (patch)
treeb3c831a422bc3645aacbfce00a6a7b2fc4b60743 /tools/perf/util/python.c
parentperf evsel: Refactor tool events (diff)
downloadkernel-6c1785cd75ef55a308701813330a162002ffe192.tar.gz
kernel-6c1785cd75ef55a308701813330a162002ffe192.zip
perf record: Ensure space for lost samples
Previous allocation didn't account for sample ID written after the lost samples event. Switch from malloc/free to a stack allocation. Reported-by: Milian Wolff <[email protected]> Closes: https://lore.kernel.org/linux-perf-users/23879991.0LEYPuXRzz@milian-workstation/ Signed-off-by: Ian Rogers <[email protected]> Acked-by: Namhyung Kim <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions