Commit 0eed282
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.org1 parent f6e7071 commit 0eed282
1 file changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10356 | 10356 | | |
10357 | 10357 | | |
10358 | 10358 | | |
10359 | | - | |
10360 | | - | |
10361 | | - | |
10362 | | - | |
10363 | | - | |
10364 | | - | |
10365 | | - | |
| 10359 | + | |
10366 | 10360 | | |
10367 | 10361 | | |
10368 | 10362 | | |
| |||
0 commit comments