lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 12 Apr 2019 11:22:47 -0300
From:   Arnaldo Carvalho de Melo <>
To:     Ingo Molnar <>,
        Thomas Gleixner <>
Cc:     Jiri Olsa <>, Namhyung Kim <>,
        Clark Williams <>,,,
        Adrian Hunter <>,
        Jiri Olsa <>,
        Arnaldo Carvalho de Melo <>
Subject: [PATCH 4/7] perf scripts python: Fix use of parent_id in calls_view

From: Adrian Hunter <>

Fix following error using calls_view:

 Query failed: ambiguous column name: parent_id Unable to execute statement

Signed-off-by: Adrian Hunter <>
Cc: Jiri Olsa <>
Fixes: 8ce9a7251d11 ("perf scripts python: Export calls parent_id")
Signed-off-by: Arnaldo Carvalho de Melo <>
 tools/perf/scripts/python/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/scripts/python/ b/tools/perf/scripts/python/
index 3b71902a5a21..bf271fbc3a88 100644
--- a/tools/perf/scripts/python/
+++ b/tools/perf/scripts/python/
@@ -331,7 +331,7 @@ if perf_db_export_calls:
 			'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 flags END AS flags,'
-			'parent_id'
+			'calls.parent_id'
 		' FROM calls INNER JOIN call_paths ON = call_path_id')
 do_query(query, 'CREATE VIEW samples_view AS '

Powered by blists - more mailing lists