mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
perf tools: Add IPC information to perf_sample
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>
This commit is contained in:
parent
7b4b4f8388
commit
61d276f428
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue