Skip to content

Commit 2295e9f

Browse files
ahunter6acmel
authored andcommitted
perf scripts python: Fix query in call-graph-from-postgresql.py
Add a missing space which seemed not to affect PostgreSQL but upsets SQLite. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Link: http://lkml.kernel.org/r/1501749090-20357-3-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent c8a8272 commit 2295e9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/perf/scripts/python/call-graph-from-postgresql.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def selectCalls(self):
160160
'( SELECT short_name FROM dsos WHERE id = ( SELECT dso_id FROM symbols WHERE id = ( SELECT symbol_id FROM call_paths WHERE id = call_path_id ) ) ), '
161161
'( SELECT ip FROM call_paths where id = call_path_id ) '
162162
'FROM calls WHERE parent_call_path_id = ' + str(self.call_path_id) + ' AND comm_id = ' + str(self.comm_id) + ' AND thread_id = ' + str(self.thread_id) +
163-
'ORDER BY call_path_id')
163+
' ORDER BY call_path_id')
164164
if not ret:
165165
raise Exception("Query failed: " + query.lastError().text())
166166
last_call_path_id = 0

0 commit comments

Comments
 (0)