samples/bpf: example of get selected PMU counter value
authorKaixu Xia <xiakaixu@huawei.com>
Thu, 6 Aug 2015 07:02:36 +0000 (07:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Aug 2015 05:50:06 +0000 (22:50 -0700)
commit47efb30274cbec1bd3c0c980a7ece328df2c16a8
tree1393486ec4906557cdb1d9173e6e2e675bab3354
parent35578d7984003097af2b1e34502bc943d40c1804
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>
samples/bpf/Makefile
samples/bpf/bpf_helpers.h
samples/bpf/tracex6_kern.c [new file with mode: 0644]
samples/bpf/tracex6_user.c [new file with mode: 0644]