aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2019-02-22 02:27:27 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-02-22 14:52:07 -0500
commitfc2c77aa8437855d2992d3f3c6a1dff681789a07 (patch)
treeaf576a0b24e44e5c8a9001aecfa0653549f46bf2 /tools/perf/scripts/python/exported-sql-viewer.py
parent0d5f8f230c67d911fa5c3b868eb4529ecd6faf34 (diff)
perf scripts python: exported-sql-viewer.py: Remove no selection error
If no selection is made on the 'Selected branches' dialog, then the output is the same as the 'All branches' report. That is not really an error, and is not desirable for future reports, so remove it. 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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
-rwxr-xr-xtools/perf/scripts/python/exported-sql-viewer.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/perf/scripts/python/exported-sql-viewer.py b/tools/perf/scripts/python/exported-sql-viewer.py
index e1c2f9e54238..728200e3a691 100755
--- a/tools/perf/scripts/python/exported-sql-viewer.py
+++ b/tools/perf/scripts/python/exported-sql-viewer.py
@@ -1808,9 +1808,6 @@ class ReportDialogBase(QDialog):
1808 vars.where_clause = " AND ( " + vars.where_clause + " ) " 1808 vars.where_clause = " AND ( " + vars.where_clause + " ) "
1809 else: 1809 else:
1810 vars.where_clause = " WHERE " + vars.where_clause + " " 1810 vars.where_clause = " WHERE " + vars.where_clause + " "
1811 else:
1812 self.ShowMessage("No selection")
1813 return
1814 self.accept() 1811 self.accept()
1815 1812
1816 def ShowMessage(self, msg): 1813 def ShowMessage(self, msg):