aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPeter Xu <[email protected]>2020-12-14 19:14:05 -0800
committerLinus Torvalds <[email protected]>2020-12-15 12:13:46 -0800
commit1e17a24edf9bef891bbdd02617eaab4fa6efcd7f (patch)
treecb7d97519d280f7dd7b29cf4fd38ed1f28323382 /tools/perf/scripts/python/export-to-postgresql.py
parent164c50be2878f4caf6d7973e8e0e438f182f4ded (diff)
userfaultfd/selftests: fix retval check for userfaultfd_open()
userfaultfd_open() returns 1 for errors rather than negatives. Fix it on all the callers so when UFFDIO_API failed the test will bail out. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Peter Xu <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Mike Rapoport <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions