perf trace: Add support for tracing workload given by command line
authorNamhyung Kim <namhyung.kim@lge.com>
Fri, 5 Oct 2012 05:02:16 +0000 (14:02 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 5 Oct 2012 15:51:27 +0000 (12:51 -0300)
commitf15eb531d351163f1ea697c2dd8f15b66b01d289
tree460790a74a49cc7e64dca014cbd05a035a5dd16f
parentee76120e2d13a2d4eb0cc88da8a8e7f7909cc276
perf trace: Add support for tracing workload given by command line

Now perf trace is able to trace specified workload by forking it like
perf record does.  And also finish the tracing if the workload quits or
gets SIGINT.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1349413336-26936-5-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c