perf thread-stack: Accumulate IPC information
Cycle and instruction counts are added to the stack. The IPC of a function and all functions it calls, is also recorded. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/20190520113728.14389-14-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:

committed by
Arnaldo Carvalho de Melo

parent
5db47f43cc
commit
003ccdc716
@@ -52,6 +52,8 @@ enum {
|
||||
* @call_time: timestamp of call (if known)
|
||||
* @return_time: timestamp of return (if known)
|
||||
* @branch_count: number of branches seen between call and return
|
||||
* @insn_count: approx. number of instructions between call and return
|
||||
* @cyc_count: approx. number of cycles between call and return
|
||||
* @call_ref: external reference to 'call' sample (e.g. db_id)
|
||||
* @return_ref: external reference to 'return' sample (e.g. db_id)
|
||||
* @db_id: id used for db-export
|
||||
@@ -65,6 +67,8 @@ struct call_return {
|
||||
u64 call_time;
|
||||
u64 return_time;
|
||||
u64 branch_count;
|
||||
u64 insn_count;
|
||||
u64 cyc_count;
|
||||
u64 call_ref;
|
||||
u64 return_ref;
|
||||
u64 db_id;
|
||||
|
Reference in New Issue
Block a user