diff options
| author | Wang Nan <[email protected]> | 2015-07-01 02:14:06 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-08-07 13:16:58 +0000 |
| commit | 7bf98369a73a9a84c56b3f2b247ea8f0eaf8668b (patch) | |
| tree | e230f8c6c9757148d4e5a73b28a19c29561705db /tools/perf/scripts/python/sctop.py | |
| parent | bpf tools: Relocate eBPF programs (diff) | |
| download | kernel-7bf98369a73a9a84c56b3f2b247ea8f0eaf8668b.tar.gz kernel-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 <[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/sctop.py')
0 files changed, 0 insertions, 0 deletions
