]> Git Repo - linux.git/blobdiff - tools/perf/scripts/python/export-to-postgresql.py
perf scripts python: export-to-postgresql.py: Fix invalid input syntax for integer...
[linux.git] / tools / perf / scripts / python / export-to-postgresql.py
index e46f51b1751310a5263283fa9a9b5f9227ed1e52..6358522a69f612c7740ab79918c11633f1606819 100644 (file)
@@ -59,7 +59,7 @@ import datetime
 #      pt_example=# \q
 #
 # An example of using the database is provided by the script
-# call-graph-from-sql.py.  Refer to that script for details.
+# exported-sql-viewer.py.  Refer to that script for details.
 #
 # Tables:
 #
@@ -478,7 +478,7 @@ if perf_db_export_calls:
                        'branch_count,'
                        'call_id,'
                        'return_id,'
-                       'CASE WHEN flags=1 THEN \'no call\' WHEN flags=2 THEN \'no return\' WHEN flags=3 THEN \'no call/return\' ELSE \'\' END AS flags,'
+                       'CASE WHEN flags=0 THEN \'\' WHEN flags=1 THEN \'no call\' WHEN flags=2 THEN \'no return\' WHEN flags=3 THEN \'no call/return\' WHEN flags=6 THEN \'jump\' ELSE CAST ( flags AS VARCHAR(6) ) END AS flags,'
                        'parent_call_path_id'
                ' FROM calls INNER JOIN call_paths ON call_paths.id = call_path_id')
 
This page took 0.030894 seconds and 4 git commands to generate.