samples/bpf: add tracepoint support to bpf loader
authorAlexei Starovoitov <ast@fb.com>
Thu, 7 Apr 2016 01:43:29 +0000 (18:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2016 01:04:27 +0000 (21:04 -0400)
commitc07660409ec954403776200cec1dd04b2db851f8
tree249cad46d3462c443e4ae9c7f8dc87f489a1ec95
parent32bbe0078afe86a8bf4c67c6b3477781b15e94dc
samples/bpf: add tracepoint support to bpf loader

Recognize "tracepoint/" section name prefix and attach the program
to that tracepoint.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/bpf_load.c