aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorEric B Munson <[email protected]>2010-03-15 14:46:57 +0000
committerIngo Molnar <[email protected]>2010-03-15 15:08:22 +0000
commitbedbfdea31daf3880745001d56450c683959ee7e (patch)
treef039ee87fc0c76805f5f42c46b25ee732b8d6e0c /tools/perf/builtin-annotate.c
parentperf, x86: Enable not tagged retired instruction counting on P4s (diff)
downloadkernel-bedbfdea31daf3880745001d56450c683959ee7e.tar.gz
kernel-bedbfdea31daf3880745001d56450c683959ee7e.zip
perf record: Enable the enable_on_exec flag if record forks the target
When forking its target, perf record can capture data from before the target application is started. Perf stat uses the enable_on_exec flag in the event attributes to keep from displaying events from before the target program starts, this patch adds the same functionality to perf record when it is will fork the target process. Signed-off-by: Eric B Munson <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions