projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94ddddf
)
perf script: Display addr/data_src/weight columns for raw events
author
Jiri Olsa
<jolsa@kernel.org>
Mon, 15 Feb 2016 08:34:52 +0000
(09:34 +0100)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Tue, 23 Feb 2016 15:20:21 +0000
(12:20 -0300)
Adding addr/data_src/weight columns for raw events.
Example:
$ perf script
...
true 11883 322960.489590: ...
ffff8801aa0b8400
68501042
246
ffffffff813b2cd
true 11883 322960.489600: ...
ffff8800b90b38d8
68501042
251
ffffffff811d0b7
true 11883 322960.489612: ...
ffff880196893130
6a100142
94
ffffffff8177fb8
true 11883 322960.489637: ...
ffff880164277b40
68100842
101
ffffffff813b2cd
true 11883 322960.489683: ...
ffff880035d3d818
68501042
201
ffffffff811d0b7
true 11883 322960.489733: ...
7fb9616efcf0
68100242
199
7fb961aaba9
true 11883 322960.489818: ...
ffffea000481c39c
6a100142
122
ffffffff811b634
^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^
addr data_src weight
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link:
http://lkml.kernel.org/r/1455525293-8671-23-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/builtin-script.c
b/tools/perf/builtin-script.c
index b7f1e8e22dcfa34ed781ae9800aa6f0d75003aa5..f4caf48982457e764b15f9dc569f007391c6d609 100644
(file)
--- a/
tools/perf/builtin-script.c
+++ b/
tools/perf/builtin-script.c
@@
-135,7
+135,8
@@
static struct {
PERF_OUTPUT_CPU | PERF_OUTPUT_TIME |
PERF_OUTPUT_EVNAME | PERF_OUTPUT_IP |
PERF_OUTPUT_SYM | PERF_OUTPUT_DSO |
- PERF_OUTPUT_PERIOD,
+ PERF_OUTPUT_PERIOD | PERF_OUTPUT_ADDR |
+ PERF_OUTPUT_DATA_SRC | PERF_OUTPUT_WEIGHT,
.invalid_fields = PERF_OUTPUT_TRACE,
},