diff options
| author | Song Liu <[email protected]> | 2020-02-14 23:41:46 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-02-18 15:08:27 +0000 |
| commit | b80b033bedae68dae8fc703ab8a69811ce678f2e (patch) | |
| tree | 58d2c30ae0127f991c0e2caf06edb38b38c97dc7 /scripts/bpf_helpers_doc.py | |
| parent | net: ena: remove set but not used variable 'hash_key' (diff) | |
| download | kernel-b80b033bedae68dae8fc703ab8a69811ce678f2e.tar.gz kernel-b80b033bedae68dae8fc703ab8a69811ce678f2e.zip | |
bpf: Allow bpf_perf_event_read_value in all BPF programs
bpf_perf_event_read_value() is NMI safe. Enable it for all BPF programs.
This can be used in fentry/fexit to profile BPF program and individual
kernel function with hardware counters.
Signed-off-by: Song Liu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions
