aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2018-10-01 09:28:46 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-10-23 14:26:44 -0300
commit031c2a004ba75a4f8f2a6d0a7ca6f2fe5912de22 (patch)
treee8795e96609efbad3bf294a4d4d270a47778f0b7 /tools/perf/scripts/python/exported-sql-viewer.py
parentperf scripts python: call-graph-from-sql.py: Refactor TreeItem class (diff)
downloadwireguard-linux-031c2a004ba75a4f8f2a6d0a7ca6f2fe5912de22.tar.xz
wireguard-linux-031c2a004ba75a4f8f2a6d0a7ca6f2fe5912de22.zip
perf scripts python: call-graph-from-sql.py: Rename to exported-sql-viewer.py
Additional reports will be added to the script so rename to reflect the more general purpose. 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-13-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rwxr-xr-x[-rw-r--r--]tools/perf/scripts/python/exported-sql-viewer.py (renamed from tools/perf/scripts/python/call-graph-from-sql.py)6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/scripts/python/call-graph-from-sql.py b/tools/perf/scripts/python/exported-sql-viewer.py
index ee1085169a3e..03e7a1de7f31 100644..100755
--- a/tools/perf/scripts/python/call-graph-from-sql.py
+++ b/tools/perf/scripts/python/exported-sql-viewer.py
@@ -10,12 +10,12 @@
# Following on from the example in the export scripts, a
# call-graph can be displayed for the pt_example database like this:
#
-# python tools/perf/scripts/python/call-graph-from-sql.py pt_example
+# python tools/perf/scripts/python/exported-sql-viewer.py pt_example
#
# Note that for PostgreSQL, this script supports connecting to remote databases
# by setting hostname, port, username, password, and dbname e.g.
#
-# python tools/perf/scripts/python/call-graph-from-sql.py "hostname=myhost username=myuser password=mypassword dbname=pt_example"
+# python tools/perf/scripts/python/exported-sql-viewer.py "hostname=myhost username=myuser password=mypassword dbname=pt_example"
#
# The result is a GUI window with a tree representing a context-sensitive
# call-graph. Expanding a couple of levels of the tree and adjusting column
@@ -365,7 +365,7 @@ class DBRef():
def Main():
if (len(sys.argv) < 2):
- print >> sys.stderr, "Usage is: call-graph-from-sql.py <database name>"
+ print >> sys.stderr, "Usage is: exported-sql-viewer.py <database name>"
raise Exception("Too few arguments")
dbname = sys.argv[1]