]> git.baikalelectronics.ru Git - kernel.git/commit
perf script python: Fix export-to-postgresql.py occasional failure
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 11 Sep 2018 11:45:03 +0000 (14:45 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Sep 2018 14:33:06 +0000 (11:33 -0300)
commit0374ba153af6730895e5c1c12e298ed22b4fbdb8
treeaf8b88eed442c68df45a7cda8e6eac2ef33ea051
parent9d38605d8b773506e2521a221067eb86b0296a25
perf script python: Fix export-to-postgresql.py occasional failure

Occasional export failures were found to be caused by truncating 64-bit
pointers to 32-bits. Fix by explicitly setting types for all ctype
arguments and results.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/20180911114504.28516-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/export-to-postgresql.py