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: NNamhyung Kim <namhyung@kernel.org> Signed-off-by: NIngo Molnar <mingo@kernel.org> Tested-by: NJiri Olsa <jolsa@kernel.org> Acked-by: NJiri Olsa <jolsa@kernel.org> Acked-by: NSong Liu <song@kernel.org> Acked-by: NPeter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20230118060559.615653-9-namhyung@kernel.org
Showing
想要评论请 注册 或 登录