perf scripts python: call-graph-from-sql.py: Add data helper functions
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 1 Oct 2018 06:28:44 +0000 (09:28 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Oct 2018 17:25:42 +0000 (14:25 -0300)
commit4be9ace7e1cdcb44c1fba1fb41ec2b92dda06732
tree9f709667cbc167da898ca862e75f4e1684b29b33
parent70d831e85c1bdd87d193e85666bf3aa39aab7f21
perf scripts python: call-graph-from-sql.py: Add data helper functions

Add helper functions for a few common cases.

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-11-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/call-graph-from-sql.py