diff options
author | 2016-02-26 09:31:54 +0000 | |
---|---|---|
committer | 2016-02-26 19:50:40 -0300 | |
commit | ba50423530200659d4deb703a8f72d3b69bc13ce (patch) | |
tree | 2de54b3feb823113ad9b4acec0ebac41fa7c4071 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf tools: Only set filter for tracepoints events (diff) | |
download | linux-dev-ba50423530200659d4deb703a8f72d3b69bc13ce.tar.xz linux-dev-ba50423530200659d4deb703a8f72d3b69bc13ce.zip |
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 <wangnan0@huawei.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Li Zefan <lizefan@huawei.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1456479154-136027-7-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions