perf thread-stack: Accumulate IPC information
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 20 May 2019 11:37:19 +0000 (14:37 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Jun 2019 12:47:57 +0000 (09:47 -0300)
commit003ccdc7165accee073ce261fc670f64cc98d0f7
tree75f3a3aef6c4ea4ab0bb681a395a0dad3bb8f8fe
parent5db47f43ccbbdee8c48f76ace4c287187a28b87f
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>
tools/perf/util/thread-stack.c
tools/perf/util/thread-stack.h