]> Git Repo - linux.git/blobdiff - tools/perf/scripts/python/exported-sql-viewer.py
perf scripts python: exported-sql-viewer.py: Fix zero id in call tree 'Find' result
[linux.git] / tools / perf / scripts / python / exported-sql-viewer.py
index e0c90aeff15e9dda35e819eee553b561300fe673..0f295055ac6b674d8aa42f22469f5e74f29d3e1d 100755 (executable)
@@ -964,7 +964,8 @@ class CallTreeModel(CallGraphModelBase):
                                                " FROM calls"
                                                " INNER JOIN call_paths ON calls.call_path_id = call_paths.id"
                                                " INNER JOIN symbols ON call_paths.symbol_id = symbols.id"
-                                               " WHERE symbols.name" + match +
+                                               " WHERE calls.id <> 0"
+                                               " AND symbols.name" + match +
                                                " ORDER BY comm_id, thread_id, call_time, calls.id")
 
        def FindPath(self, query):
This page took 0.030664 seconds and 4 git commands to generate.