summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2017-09-25 11:15:38 -0400
committerDoug Ledford <dledford@redhat.com>2017-09-25 11:16:58 -0400
commit0d9c2ff1c9f7f8b339fc42ac9763b28c71f1c115 (patch)
tree5bd75c2c1e385c79425bb099f0d19db7fb9c391f /tools/perf/scripts/python/export-to-postgresql.py
parent89aaca54ba60e91f02c1c168fbef5d71f71a6d43 (diff)
parente19b205be43d11bff638cad4487008c48d21c103 (diff)
downloadkernel-0d9c2ff1c9f7f8b339fc42ac9763b28c71f1c115.tar.gz
Merge tag 'v4.14-rc2' into k.o/for-next
Merge my for-next branch to Linux 4.14-rc2 and open up the for-next area for 4.15 kernel development. Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
-rw-r--r--tools/perf/scripts/python/export-to-postgresql.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/scripts/python/export-to-postgresql.py b/tools/perf/scripts/python/export-to-postgresql.py
index 7656ff8aa066..efcaf6cac2eb 100644
--- a/tools/perf/scripts/python/export-to-postgresql.py
+++ b/tools/perf/scripts/python/export-to-postgresql.py
@@ -59,7 +59,7 @@ import datetime
# pt_example=# \q
#
# An example of using the database is provided by the script
-# call-graph-from-postgresql.py. Refer to that script for details.
+# call-graph-from-sql.py. Refer to that script for details.
#
# Tables:
#
@@ -340,7 +340,8 @@ if branches:
'to_sym_offset bigint,'
'to_ip bigint,'
'branch_type integer,'
- 'in_tx boolean)')
+ 'in_tx boolean,'
+ 'call_path_id bigint)')
else:
do_query(query, 'CREATE TABLE samples ('
'id bigint NOT NULL,'