aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2019-05-30 11:40:47 +0000
committerChristian Brauner <[email protected]>2019-06-05 13:06:07 +0000
commit7c33277b9a9ada187f805b41ffbebe6c51622fb6 (patch)
tree8c34fbee42a6e803bc4d96f91ed20dbacf5229c7 /tools/perf/scripts/python/compaction-times.py
parentLinux 5.2-rc3 (diff)
downloadkernel-7c33277b9a9ada187f805b41ffbebe6c51622fb6.tar.gz
kernel-7c33277b9a9ada187f805b41ffbebe6c51622fb6.zip
samples: fix pidfd-metadata compilation
Define __NR_pidfd_send_signal if it isn't to prevent a compilation error. To make pidfd-metadata compile on all arches, irrespective of whether or not syscall numbers are assigned, define the syscall number to -1. If it isn't defined this will cause the kernel to return -ENOSYS. Fixes: 43c6afee48d4 ("samples: show race-free pidfd metadata access") Reported-by: Arnd Bergmann <[email protected]> Reported-by: Guenter Roeck <[email protected]> Cc: Christian Brauner <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> [[email protected]: tweak commit message] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions