diff options
author | Alexei Starovoitov <ast@fb.com> | 2016-09-02 03:37:25 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-02 19:46:45 +0200 |
commit | 1c47910ef80135ac89e4d0b471d123572cee5535 (patch) | |
tree | 95066aef056b16a4e5e477c7f277cc69db418e5c /include/dt-bindings/reset/qcom,mmcc-msm8960.h | |
parent | perf, bpf: add perf events core support for BPF_PROG_TYPE_PERF_EVENT programs (diff) | |
download | linux-1c47910ef80135ac89e4d0b471d123572cee5535.tar.xz linux-1c47910ef80135ac89e4d0b471d123572cee5535.zip |
samples/bpf: add perf_event+bpf example
The bpf program is called 50 times a second and does hashmap[kern&user_stackid]++
It's primary purpose to check that key bpf helpers like map lookup, update,
get_stackid, trace_printk and ctx access are all working.
It checks:
- PERF_COUNT_HW_CPU_CYCLES on all cpus
- PERF_COUNT_HW_CPU_CYCLES for current process and inherited perf_events to children
- PERF_COUNT_SW_CPU_CLOCK on all cpus
- PERF_COUNT_SW_CPU_CLOCK for current process
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/dt-bindings/reset/qcom,mmcc-msm8960.h')
0 files changed, 0 insertions, 0 deletions