linux/tools/lib/perf/include/perf
Ian Rogers 6c1785cd75 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 <milian.wolff@kdab.com>
Closes: https://lore.kernel.org/linux-perf-users/23879991.0LEYPuXRzz@milian-workstation/
Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240611050626.1223155-1-irogers@google.com
2024-06-13 20:45:31 -07:00
..
bpf_perf.h
core.h
cpumap.h libperf cpumap: Add any, empty and min helpers 2024-03-21 10:41:28 -03:00
event.h perf record: Ensure space for lost samples 2024-06-13 20:45:31 -07:00
evlist.h
evsel.h
mmap.h
threadmap.h