OSDN Git Service

perf scripts python: exported-sql-viewer.py: Hide Call Graph option if no calls table
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 22 Feb 2019 07:27:20 +0000 (09:27 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 22 Feb 2019 19:52:07 +0000 (16:52 -0300)
commit655cb952de5fc2b91ff7d6352131c2c0cde6e862
treef4a9fac05ee89f3ce94ceea3e458ce09deab172b
parentdf8794fe6840aed6ce65baf7f1e542bd3e22fb78
perf scripts python: exported-sql-viewer.py: Hide Call Graph option if no calls table

The Call Graph depends on the calls table which is optional when exporting
data, so hide the Call Graph option if there is no calls table.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/exported-sql-viewer.py