perf scripts python: export-to-sqlite.py: Fix use of parent_id in calls_view
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 9 Apr 2019 06:25:57 +0000 (09:25 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 16 Apr 2019 14:27:05 +0000 (11:27 -0300)
commit6e4b1cac30d297718218dc268199ed20df074b98
tree6429e18d867d6de4752ddf92454964a376072a0e
parent14c9b31a925a9f5c647523a12e2b575b97c0aa47
perf scripts python: export-to-sqlite.py: Fix use of parent_id in calls_view

Fix following error using calls_view:

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

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Fixes: 8ce9a7251d11 ("perf scripts python: export-to-sqlite.py: Export calls parent_id")
Link: http://lkml.kernel.org/r/20190409062557.26138-1-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/export-to-sqlite.py