From 317df650c588bb9091b1fa0b5d726fe485aad88e Mon Sep 17 00:00:00 2001 From: Robert Richter Date: Fri, 25 Nov 2011 15:05:25 +0100 Subject: [PATCH] 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 normally use -a by default, while scripts run with a 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 Link: http://lkml.kernel.org/r/1322229925-10075-1-git-send-email-robert.richter@amd.com Signed-off-by: Robert Richter Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-format-patch failed