summaryrefslogtreecommitdiffstats
path: root/drivers/oprofile
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2011-11-25 15:05:25 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-12-12 11:44:00 +0100
commit317df650c588bb9091b1fa0b5d726fe485aad88e (patch)
tree64de022f7bce1c948e316c88fc67b8b543d56616 /drivers/oprofile
parentperf script: Fix mem leaks and NULL pointer checks around strdup()s (diff)
downloadlinux-317df650c588bb9091b1fa0b5d726fe485aad88e.tar.xz
linux-317df650c588bb9091b1fa0b5d726fe485aad88e.zip
perf script: Implement option for system-wide profiling
The option is documented in man perf-script but was not yet implemented: -a Force system-wide collection. Scripts run without a <command> normally use -a by default, while scripts run with a <command> normally don't - this option allows the latter to be run in system-wide mode. As with perf record you now can profile in system-wide mode for the runtime of a given command, e.g.: # perf script -a syscall-counts sleep 2 Cc: Ingo Molnar <mingo@elte.hu> Link: http://lkml.kernel.org/r/1322229925-10075-1-git-send-email-robert.richter@amd.com Signed-off-by: Robert Richter <robert.richter@amd.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/oprofile')
0 files changed, 0 insertions, 0 deletions