OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f8c1b7
)
perf trace: Handle MSG_WAITFORONE not defined
author
David Ahern
<dsahern@gmail.com>
Mon, 23 Sep 2013 01:44:56 +0000
(19:44 -0600)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 9 Oct 2013 20:42:37 +0000
(17:42 -0300)
Needed for compiles on Fedora 12 for example.
Signed-off-by: David Ahern <dsahern@gmail.com>
Link:
http://lkml.kernel.org/r/1379900700-5186-2-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-trace.c
b/tools/perf/builtin-trace.c
index
39a947a
..
3ca6a85
100644
(file)
--- a/
tools/perf/builtin-trace.c
+++ b/
tools/perf/builtin-trace.c
@@
-363,6
+363,9
@@
static size_t syscall_arg__scnprintf_socket_type(char *bf, size_t size,
#ifndef MSG_PROBE
#define MSG_PROBE 0x10
#endif
+#ifndef MSG_WAITFORONE
+#define MSG_WAITFORONE 0x10000
+#endif
#ifndef MSG_SENDPAGE_NOTLAST
#define MSG_SENDPAGE_NOTLAST 0x20000
#endif