diff options
author | Wang Nan <[email protected]> | 2015-07-01 02:14:06 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-08-07 10:16:58 -0300 |
commit | 7bf98369a73a9a84c56b3f2b247ea8f0eaf8668b (patch) | |
tree | e230f8c6c9757148d4e5a73b28a19c29561705db /tools/perf/scripts/python | |
parent | 8a47a6c522c0593a977069b0b1e5a0725ca0e32e (diff) |
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 <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Cc: Brendan Gregg <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: David Ahern <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kaixu Xia <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions