]> git.baikalelectronics.ru Git - kernel.git/commit
perf db-export: Add calls parent_id to enable creation of call trees
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 28 Feb 2019 13:00:24 +0000 (15:00 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 1 Mar 2019 17:50:47 +0000 (14:50 -0300)
commit2d8e0f40f70cb017553814624ae8b5c25ff64628
treee9a1be1b4803aa39ae58d93b000b9e773bbd35ef
parent2223c68390ccf342729fa8d364bda12486135705
perf db-export: Add calls parent_id to enable creation of call trees

The call_path can be used to find the parent symbol for a call but not
the exact parent call. To do that add parent_id to the call_return
export. This enables the creation of a call tree from the exported data.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lkml.kernel.org/n/tip-6j7tzdxo67cox6kan7k22oo6@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/db-export.c
tools/perf/util/db-export.h
tools/perf/util/scripting-engines/trace-event-python.c
tools/perf/util/thread-stack.c
tools/perf/util/thread-stack.h