samples/bpf: example of get selected PMU counter value
This is a simple example and shows how to use the new ability to get the selected Hardware PMU counter value. Signed-off-by:Kaixu Xia <xiakaixu@huawei.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- samples/bpf/Makefile 4 additions, 0 deletionssamples/bpf/Makefile
- samples/bpf/bpf_helpers.h 2 additions, 0 deletionssamples/bpf/bpf_helpers.h
- samples/bpf/tracex6_kern.c 26 additions, 0 deletionssamples/bpf/tracex6_kern.c
- samples/bpf/tracex6_user.c 68 additions, 0 deletionssamples/bpf/tracex6_user.c
samples/bpf/tracex6_kern.c
0 → 100644
samples/bpf/tracex6_user.c
0 → 100644
Please register or sign in to comment