perf evlist: Introduce set_filter_pid method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 21 Feb 2015 18:09:55 +0000 (10:09 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 Feb 2015 01:14:25 +0000 (22:14 -0300)
commitcfd70a26aadf0a9af80bbce035e5760736727a94
tree0455b6b09cd2fc2ee9b61a725d0e47b2c270a220
parent0808921a14ffa170186288508c807f2166b7d8df
perf evlist: Introduce set_filter_pid method

To filter out events for a certain pid, for instance, when tracing
system wide, so that the tracer itself doesn't creates an event loop.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-byoia9dzu4gmkdv87etnd9zf@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c
tools/perf/util/evlist.h