]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit611ec494854a312ea2ad2116ad718bbc1420241d
treef4a9fac05ee89f3ce94ceea3e458ce09deab172b
parentf5b19c24d0445bccbb45d4ae89a4503a0f0b3a5a
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