diff options
author | Wang Nan <[email protected]> | 2016-02-26 09:31:53 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-02-26 19:50:01 -0300 |
commit | fdf14720fbd02d406ac2c1c50444774b4c7eed9a (patch) | |
tree | ce97402d5e000c3e811e5b654c126df51683ed47 /lib/dynamic_queue_limits.c | |
parent | b8cbb349061edda648463b086cfa869a7ab583af (diff) |
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 <[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