perf scripts python: exported-sql-viewer.py: Factor out CallGraphModelBase
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 28 Feb 2019 13:00:30 +0000 (15:00 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 1 Mar 2019 17:56:17 +0000 (14:56 -0300)
commit254c0d820b86d7712e03750c58ab104e06e3655d
tree8e929a3f29fb409bd66603fea5b059b64d2f1215
parenta448ba232a5f0176c226df1bab8877ec06a7c771
perf scripts python: exported-sql-viewer.py: Factor out CallGraphModelBase

Factor out a base class CallGraphModelBase from CallGraphModel, so that
CallGraphModelBase can be reused.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lkml.kernel.org/n/tip-76eybebzjwvgnadkm2oufrqi@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/exported-sql-viewer.py