samples/bpf: add sampleip example
authorBrendan Gregg <bgregg@netflix.com>
Fri, 2 Sep 2016 01:37:26 +0000 (18:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Sep 2016 17:46:45 +0000 (10:46 -0700)
commit72874418e4b9e2673c26a810b0ae9f418b573ee3
treece7e1ec61c8c12ef2b02ac5bb67b6ed8d2023f64
parent1c47910ef80135ac89e4d0b471d123572cee5535
samples/bpf: add sampleip example

sample instruction pointer and frequency count in a BPF map

Signed-off-by: Brendan Gregg <bgregg@netflix.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/Makefile
samples/bpf/sampleip_kern.c [new file with mode: 0644]
samples/bpf/sampleip_user.c [new file with mode: 0644]