diff options
author | Wang Nan <[email protected]> | 2016-02-26 09:31:54 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-02-26 19:50:40 -0300 |
commit | ba50423530200659d4deb703a8f72d3b69bc13ce (patch) | |
tree | 2de54b3feb823113ad9b4acec0ebac41fa7c4071 /lib/dynamic_queue_limits.c | |
parent | fdf14720fbd02d406ac2c1c50444774b4c7eed9a (diff) |
perf trace: Call bpf__apply_obj_config in 'perf trace'
Without this patch BPF map configuration is not applied.
Command like this:
# ./perf trace --ev bpf-output/no-inherit,name=evt/ \
--ev ./test_bpf_trace.c/map:channel.event=evt/ \
usleep 100000
Load BPF files without error, but since map:channel.event=evt is not
applied, bpf-output event not work.
This patch allows 'perf trace' load and run BPF scripts.
Signed-off-by: Wang Nan <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: Peter Zijlstra <[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 'lib/dynamic_queue_limits.c')
0 files changed, 0 insertions, 0 deletions