| commit | 818a19e536d242cf0d8b451bb31600be9b623c08 | [log] [tgz] |
|---|---|---|
| author | Namhyung Kim <namhyung@kernel.org> | Fri Oct 28 19:40:00 2022 -0700 |
| committer | Namhyung Kim <namhyung@kernel.org> | Mon Oct 31 15:57:14 2022 -0700 |
| tree | 09f39112f5fcf3f52c9b56dfdc761814452cc245 | |
| parent | dec34924821f6e25bd971626507c2d2cbb1a7572 [diff] |
bpf: Add bpf_perf_event_read_sample() helper The bpf_perf_event_read_sample() helper is to get the specified sample data (by using PERF_SAMPLE_* flag in the argument) from BPF to make a decision for filtering on samples. Currently PERF_SAMPLE_IP and PERF_SAMPLE_DATA flags are supported only. Signed-off-by: Namhyung Kim <namhyung@kernel.org>