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)
commitea8cfac7f8e8e452afd523bb78bc26fe3378baad
tree249cad46d3462c443e4ae9c7f8dc87f489a1ec95
parentdddc8bbf135d7acf8dba722f6ce61a756aff7e34
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