]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e6de3b87a7a9405e0b6bab9a4322305fe41ff76
tree1393486ec4906557cdb1d9173e6e2e675bab3354
parent35dea35be167697c6552666275e23b7887b382e4
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]