diff options
author | Mark Brown <broonie@kernel.org> | 2018-11-05 10:13:20 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-05 10:13:20 +0000 |
commit | 2d0e730e7977460655df8aeb0ffde2e9a143f82a (patch) | |
tree | 5b5fb55a9bed5c4d346c6e2b439946e0aa218337 /tools | |
parent | ebbfef1f746893c84d2d5991ee816ac181d211c8 (diff) | |
parent | 24c2342b8e51ab3185e68470709904150a1e3ee0 (diff) |
Merge tag 'v4.4.162' into linux-linaro-lsk-v4.4
This is the 4.4.162 stable release
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/scripts/python/export-to-postgresql.py | 9 | ||||
-rw-r--r-- | tools/testing/selftests/efivarfs/config | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/export-to-postgresql.py b/tools/perf/scripts/python/export-to-postgresql.py index 1b02cdc0cab6..84cb5913b05a 100644 --- a/tools/perf/scripts/python/export-to-postgresql.py +++ b/tools/perf/scripts/python/export-to-postgresql.py @@ -205,14 +205,23 @@ from ctypes import * libpq = CDLL("libpq.so.5") PQconnectdb = libpq.PQconnectdb PQconnectdb.restype = c_void_p +PQconnectdb.argtypes = [ c_char_p ] PQfinish = libpq.PQfinish +PQfinish.argtypes = [ c_void_p ] PQstatus = libpq.PQstatus +PQstatus.restype = c_int +PQstatus.argtypes = [ c_void_p ] PQexec = libpq.PQexec PQexec.restype = c_void_p +PQexec.argtypes = [ c_void_p, c_char_p ] PQresultStatus = libpq.PQresultStatus +PQresultStatus.restype = c_int +PQresultStatus.argtypes = [ c_void_p ] PQputCopyData = libpq.PQputCopyData +PQputCopyData.restype = c_int PQputCopyData.argtypes = [ c_void_p, c_void_p, c_int ] PQputCopyEnd = libpq.PQputCopyEnd +PQputCopyEnd.restype = c_int PQputCopyEnd.argtypes = [ c_void_p, c_void_p ] sys.path.append(os.environ['PERF_EXEC_PATH'] + \ diff --git a/tools/testing/selftests/efivarfs/config b/tools/testing/selftests/efivarfs/config new file mode 100644 index 000000000000..4e151f1005b2 --- /dev/null +++ b/tools/testing/selftests/efivarfs/config @@ -0,0 +1 @@ +CONFIG_EFIVAR_FS=y |