diff options
author | David Ahern <dsahern@gmail.com> | 2013-09-22 21:44:56 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-10-09 16:42:37 -0400 |
commit | b6e8f8f4674be5a32f78027ec6e432f5ea33921e (patch) | |
tree | f39cad0022a01044c43410a6ea1e16c5bcf02ed6 /tools/perf/builtin-trace.c | |
parent | 4f8c1b74c5fdac35ee4480685d42030446724848 (diff) |
perf trace: Handle MSG_WAITFORONE not defined
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>
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index 39a947a0d122..3ca6a856ba62 100644 --- 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, | |||
363 | #ifndef MSG_PROBE | 363 | #ifndef MSG_PROBE |
364 | #define MSG_PROBE 0x10 | 364 | #define MSG_PROBE 0x10 |
365 | #endif | 365 | #endif |
366 | #ifndef MSG_WAITFORONE | ||
367 | #define MSG_WAITFORONE 0x10000 | ||
368 | #endif | ||
366 | #ifndef MSG_SENDPAGE_NOTLAST | 369 | #ifndef MSG_SENDPAGE_NOTLAST |
367 | #define MSG_SENDPAGE_NOTLAST 0x20000 | 370 | #define MSG_SENDPAGE_NOTLAST 0x20000 |
368 | #endif | 371 | #endif |