We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33cbbdc commit 456857bCopy full SHA for 456857b
tools/perf/builtin-trace.c
@@ -16,6 +16,23 @@
16
#include <sys/mman.h>
17
#include <linux/futex.h>
18
19
+/* For older distros: */
20
+#ifndef MAP_STACK
21
+# define MAP_STACK 0x20000
22
+#endif
23
+
24
+#ifndef MADV_HWPOISON
25
+# define MADV_HWPOISON 100
26
27
28
+#ifndef MADV_MERGEABLE
29
+# define MADV_MERGEABLE 12
30
31
32
+#ifndef MADV_UNMERGEABLE
33
+# define MADV_UNMERGEABLE 13
34
35
36
static size_t syscall_arg__scnprintf_hex(char *bf, size_t size,
37
unsigned long arg,
38
u8 arg_idx __maybe_unused,
0 commit comments