aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorWang Nan <wangnan0@huawei.com>2016-02-26 09:31:53 +0000
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-02-26 19:50:01 -0300
commitfdf14720fbd02d406ac2c1c50444774b4c7eed9a (patch)
treece97402d5e000c3e811e5b654c126df51683ed47 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentperf config: Bring perf_default_config to the very beginning at main() (diff)
downloadwireguard-linux-fdf14720fbd02d406ac2c1c50444774b4c7eed9a.tar.xz
wireguard-linux-fdf14720fbd02d406ac2c1c50444774b4c7eed9a.zip
perf tools: Only set filter for tracepoints events
perf_evlist__set_filter() tries to set filter to every evsel linked in the evlist. However, since filters can only be applied to tracepoints, checking type of evsel before calling perf_evsel__set_filter() would be better. 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-6-git-send-email-wangnan0@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions