| commit | 955b8dbbe195dcfc1c1274b406986b1d6ce357ba | [log] [tgz] |
|---|---|---|
| author | Namhyung Kim <namhyung@kernel.org> | Mon Oct 31 17:39:59 2022 -0700 |
| committer | Namhyung Kim <namhyung@kernel.org> | Mon Oct 31 18:44:08 2022 -0700 |
| tree | 085c9eb709f1b508f04b78f5065da4dae99139fa | |
| parent | 818a19e536d242cf0d8b451bb31600be9b623c08 [diff] |
bpf: Add perf_event_read_sample test cases It checks the bpf_perf_event_read_sample() helper with and without buffer for supported PERF_SAMPLE_* flags. The BPF program can control sample data using the return value after checking the sample data and size. Signed-off-by: Namhyung Kim <namhyung@kernel.org>