summaryrefslogtreecommitdiffstats
path: root/tools/lib/symbol
diff options
context:
space:
mode:
authorWang Nan <wangnan0@huawei.com>2015-07-01 04:14:06 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-08-07 15:16:58 +0200
commit7bf98369a73a9a84c56b3f2b247ea8f0eaf8668b (patch)
treee230f8c6c9757148d4e5a73b28a19c29561705db /tools/lib/symbol
parentbpf tools: Relocate eBPF programs (diff)
downloadlinux-7bf98369a73a9a84c56b3f2b247ea8f0eaf8668b.tar.xz
linux-7bf98369a73a9a84c56b3f2b247ea8f0eaf8668b.zip
bpf tools: Introduce bpf_load_program() to bpf.c
bpf_load_program() can be used to load bpf program into kernel. To make loading faster, first try to load without logbuf. Try again with logbuf if the first try failed. Signed-off-by: Wang Nan <wangnan0@huawei.com> Acked-by: Alexei Starovoitov <ast@plumgrid.com> Cc: Brendan Gregg <brendan.d.gregg@gmail.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: David Ahern <dsahern@gmail.com> Cc: He Kuang <hekuang@huawei.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kaixu Xia <xiakaixu@huawei.com> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Zefan Li <lizefan@huawei.com> Cc: pi3orama@163.com Link: http://lkml.kernel.org/r/1435716878-189507-19-git-send-email-wangnan0@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/symbol')
0 files changed, 0 insertions, 0 deletions