]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0930fdd1de313eb50bc52c0763e2860691b4b176
tree249cad46d3462c443e4ae9c7f8dc87f489a1ec95
parent23580734f61dae7fce9c2a2f33e6c73e8aba21fb
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