From: Robert Richter Date: Fri, 25 Nov 2011 14:05:25 +0000 (+0100) Subject: perf script: Implement option for system-wide profiling X-Git-Tag: v3.3-rc1~192^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=317df650c588bb9091b1fa0b5d726fe485aad88e;p=pandora-kernel.git 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-diff-tree failed