perf scripts python: Fix missing call_path_id in export-to-postgresql script
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 3 Aug 2017 08:31:26 +0000 (11:31 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Aug 2017 19:05:36 +0000 (16:05 -0300)
commitc8a827285c33e7a19e81dfbff2740e1e67ca42df
treee9d46cd519976bd9a6d702657e71e5b5100bd2dc
parent2b728861a63a7ba6073a476244a83f575864273e
perf scripts python: Fix missing call_path_id in export-to-postgresql script

The export does not work if only branches are exported because of a
missing column in the samples table.  Fix by adding the missing
call_path_id.

Fixes: 3521f3bc9dae ("perf script: Update export-to-postgresql to support callchain export")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Link: http://lkml.kernel.org/r/1501749090-20357-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/export-to-postgresql.py