projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b4b4f8
)
perf tools: Add IPC information to perf_sample
author
Adrian Hunter
<adrian.hunter@intel.com>
Mon, 20 May 2019 11:37:12 +0000
(14:37 +0300)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 5 Jun 2019 12:47:55 +0000
(09:47 -0300)
Add counts of instructions and cycles, in order to represent
instructions-per-cycle (IPC).
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link:
http://lkml.kernel.org/r/20190520113728.14389-7-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/event.h
patch
|
blob
|
history
diff --git
a/tools/perf/util/event.h
b/tools/perf/util/event.h
index
9e99955
..
1f1da60
100644
(file)
--- a/
tools/perf/util/event.h
+++ b/
tools/perf/util/event.h
@@
-204,6
+204,8
@@
struct perf_sample {
u64 period;
u64 weight;
u64 transaction;
+ u64 insn_cnt;
+ u64 cyc_cnt;
u32 cpu;
u32 raw_size;
u64 data_src;