summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-trace.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2012-10-17 18:50:13 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-10-25 10:37:15 -0200
commitba361c92e73c771fcbbbd24c2c03c322e2de2e31 (patch)
tree77ee1c1273490cc8703fdff6e6a86771b762f903 /tools/perf/builtin-trace.c
parent6ca2a9c6543dd1a307c0250991d4de93550209ce (diff)
downloadop-kernel-dev-ba361c92e73c771fcbbbd24c2c03c322e2de2e31.zip
op-kernel-dev-ba361c92e73c771fcbbbd24c2c03c322e2de2e31.tar.gz
perf tools: Don't stop synthesizing threads when one vanishes
The perf_event__synthesize_threads routine synthesizes all the existing threads in the system, because we don't have any kernel facilities to ask for PERF_RECORD_{FORK,MMAP,COMM} for existing threads. It was returning an error as soon as one thread couldn't be synthesized, which is a bit extreme when, for instance, a forkish workload is running, like a kernel compile. Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-i7oas1eodpoer2bx38fwyasv@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-trace.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud