perf trace: Filter out the trace pid when no threads are specified
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 21 Feb 2015 18:15:21 +0000 (10:15 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 Feb 2015 01:14:48 +0000 (22:14 -0300)
commit241b057ce5c01a24c280f124fab60109cb562589
tree55fe41058ebbbe8da2ea6f11f9e25777eeaf1dc3
parentcfd70a26aadf0a9af80bbce035e5760736727a94
perf trace: Filter out the trace pid when no threads are specified

To avoid tracing the tracer.

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-shmwd1khzpaobr3i0j1ygapg@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c