From: Ingo Molnar Date: Mon, 25 May 2009 12:40:01 +0000 (+0200) Subject: perf stat: flip around ':k' and ':u' flags X-Git-Tag: v2.6.31-rc1~383^2~232 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3f4b3855ba87caff8f35e738c7e7e3bad0a6ab1;p=pandora-kernel.git perf stat: flip around ':k' and ':u' flags This output: $ perf stat -e 0:1:k -e 0:1:u ./hello Performance counter stats for './hello': 140131 instructions (events) 1906968 instructions (events) Is quite confusing - as :k means "user instructions", :u means "kernel instructions". Flip them around - as the 'exclude' property is not intuitive in the flag naming. Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford Cc: Arnaldo Carvalho de Melo Cc: John Kacur Cc: Mike Galbraith LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed