Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf trace beauty futex_op: Add missing defines for older systems

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-6qkuhv2mrcxmpy5sasc3c9tf@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+16
+16
tools/perf/trace/beauty/futex_op.c
··· 1 1 #include <linux/futex.h> 2 2 3 + #ifndef FUTEX_WAIT_BITSET 4 + #define FUTEX_WAIT_BITSET 9 5 + #endif 6 + #ifndef FUTEX_WAKE_BITSET 7 + #define FUTEX_WAKE_BITSET 10 8 + #endif 9 + #ifndef FUTEX_WAIT_REQUEUE_PI 10 + #define FUTEX_WAIT_REQUEUE_PI 11 11 + #endif 12 + #ifndef FUTEX_CMP_REQUEUE_PI 13 + #define FUTEX_CMP_REQUEUE_PI 12 14 + #endif 15 + #ifndef FUTEX_CLOCK_REALTIME 16 + #define FUTEX_CLOCK_REALTIME 256 17 + #endif 18 + 3 19 static size_t syscall_arg__scnprintf_futex_op(char *bf, size_t size, struct syscall_arg *arg) 4 20 { 5 21 enum syscall_futex_args {