From: Greg Kroah-Hartman Date: Mon, 2 May 2016 23:31:14 +0000 (-0700) Subject: 3.14-stable patches X-Git-Tag: v3.14.68~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=120bc9abc495576e8d9ac6767e067b513cbbd618;p=thirdparty%2Fkernel%2Fstable-queue.git 3.14-stable patches added patches: perf-stat-document-detailed-option.patch --- diff --git a/queue-3.14/perf-stat-document-detailed-option.patch b/queue-3.14/perf-stat-document-detailed-option.patch new file mode 100644 index 00000000000..33081888ca7 --- /dev/null +++ b/queue-3.14/perf-stat-document-detailed-option.patch @@ -0,0 +1,57 @@ +From f594bae08183fb6b57db55387794ece3e1edf6f6 Mon Sep 17 00:00:00 2001 +From: Borislav Petkov +Date: Mon, 7 Mar 2016 16:44:44 -0300 +Subject: perf stat: Document --detailed option + +From: Borislav Petkov + +commit f594bae08183fb6b57db55387794ece3e1edf6f6 upstream. + +I'm surprised this remained undocumented since at least 2011. And it is +actually a very useful switch, as Steve and I came to realize recently. + +Add the text from + + 2cba3ffb9a9d ("perf stat: Add -d -d and -d -d -d options to show more CPU events") + +which added the incrementing aspect to -d. + +Tested-by: Arnaldo Carvalho de Melo +Signed-off-by: Borislav Petkov +Signed-off-by: Arnaldo Carvalho de Melo +Cc: Alexander Shishkin +Cc: David Ahern +Cc: Davidlohr Bueso +Cc: Jiri Olsa +Cc: Mel Gorman +Cc: Namhyung Kim +Cc: Peter Zijlstra +Cc: Peter Zijlstra +Cc: Steven Rostedt +Cc: Thomas Gleixner +Fixes: 2cba3ffb9a9d ("perf stat: Add -d -d and -d -d -d options to show more CPU events") +Link: http://lkml.kernel.org/r/1457347294-32546-1-git-send-email-bp@alien8.de +Signed-off-by: Ingo Molnar +Signed-off-by: Greg Kroah-Hartman + +--- + tools/perf/Documentation/perf-stat.txt | 8 ++++++++ + 1 file changed, 8 insertions(+) + +--- a/tools/perf/Documentation/perf-stat.txt ++++ b/tools/perf/Documentation/perf-stat.txt +@@ -50,6 +50,14 @@ OPTIONS + --scale:: + scale/normalize counter values + ++-d:: ++--detailed:: ++ print more detailed statistics, can be specified up to 3 times ++ ++ -d: detailed events, L1 and LLC data cache ++ -d -d: more detailed events, dTLB and iTLB events ++ -d -d -d: very detailed events, adding prefetch events ++ + -r:: + --repeat=:: + repeat command and print average + stddev (max: 100). 0 means forever. diff --git a/queue-3.14/series b/queue-3.14/series index fdd7b9ba8e9..e32fce389af 100644 --- a/queue-3.14/series +++ b/queue-3.14/series @@ -29,3 +29,4 @@ ext4-fix-null-pointer-dereference-in-ext4_mark_inode_dirty.patch serial-sh-sci-remove-cpufreq-notifier-to-fix-crash-deadlock.patch include-linux-poison.h-fix-list_poison-1-2-offset.patch drivers-hv-vmbus-prevent-cpu-offlining-on-newer-hypervisors.patch +perf-stat-document-detailed-option.patch