diff options
author | Namhyung Kim <namhyung@kernel.org> | 2023-01-18 09:05:59 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-01-18 13:57:21 +0300 |
commit | 0eed28220598cd990d094b7b9f8c832c425080c0 (patch) | |
tree | 98d16fb509d0475b7a7ed7588817d229e24acaf8 /arch/x86/events/intel | |
parent | f6e707156e1d5d150f288823987bee1ba0104c4c (diff) | |
download | linux-0eed28220598cd990d094b7b9f8c832c425080c0.tar.xz |
perf/core: Call perf_prepare_sample() before running BPF
As BPF can access sample data, it needs to populate the data. Also
remove the logic to get the callchain specifically as it's covered by
the perf_prepare_sample() now.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Song Liu <song@kernel.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230118060559.615653-9-namhyung@kernel.org
Diffstat (limited to 'arch/x86/events/intel')
0 files changed, 0 insertions, 0 deletions