perf scripts python: call-graph-from-sql.py: Factor out CallGraphModel from TreeModel
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 1 Oct 2018 06:28:43 +0000 (09:28 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Oct 2018 17:23:52 +0000 (14:23 -0300)
commit70d831e85c1bdd87d193e85666bf3aa39aab7f21
tree61d50f10351b3364e339d4f5a47098e8f79686b5
parente99ef8141a6d97abaf47647cfd0034769144d080
perf scripts python: call-graph-from-sql.py: Factor out CallGraphModel from TreeModel

Factor out CallGraphModel from TreeModel, which paves the way to reuse
TreeModel in future reports.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20181001062853.28285-10-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/call-graph-from-sql.py