diff options
| author | Namhyung Kim <[email protected]> | 2024-08-18 21:29:47 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-08-19 19:32:05 +0000 |
| commit | 3432bae89e044819f0b30f4c09260d2740896797 (patch) | |
| tree | 2b574efc5df02adda76d58bb74ac3899effc08bd /tools/perf/util/annotate-data.c | |
| parent | perf inject: Combine mmap and mmap2 handling (diff) | |
| download | kernel-3432bae89e044819f0b30f4c09260d2740896797.tar.gz kernel-3432bae89e044819f0b30f4c09260d2740896797.zip | |
perf record: Fix sample cgroup & namespace tracking
The recent change in 'struct perf_tool' constification broke the cgroup
and/or namespace tracking by resetting tool fields. It should set the
values after perf_tool__init().
Fixes: cecb1cf154b301c6 ("perf record: Use perf_tool__init()")
Reviewed-by: Ian Rogers <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate-data.c')
0 files changed, 0 insertions, 0 deletions
