diff options
| author | Adrian Hunter <[email protected]> | 2019-02-28 13:00:26 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-03-01 17:53:12 +0000 |
| commit | 07c5ebead85f507271fb8e2a8b5814e486702518 (patch) | |
| tree | f004250e4c2d71d63a55ca5e9a758c5b053dfe57 /tools/perf/util/annotate.c | |
| parent | perf scripts python: export-to-sqlite.py: Export calls parent_id (diff) | |
| download | kernel-07c5ebead85f507271fb8e2a8b5814e486702518.tar.gz kernel-07c5ebead85f507271fb8e2a8b5814e486702518.zip | |
perf scripts python: export-to-postgresql.py: Fix invalid input syntax for integer error
Fix SQL query error "invalid input syntax for integer":
Traceback (most recent call last):
File "tools/perf/scripts/python/export-to-postgresql.py", line 465, in <module>
do_query(query, 'CREATE VIEW calls_view AS '
File "tools/perf/scripts/python/export-to-postgresql.py", line 274, in do_query
raise Exception("Query failed: " + q.lastError().text())
Exception: Query failed: ERROR: invalid input syntax for integer: ""
LINE 1: ...ch_count,call_id,return_id,CASE WHEN flags=0 THEN '' WHEN fl...
^
(22P02) QPSQL: Unable to create query
Error running python script tools/perf/scripts/python/export-to-postgresql.py
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Fixes: f08046cb3082 ("perf thread-stack: Represent jmps to the start of a different symbol")
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
