aboutsummaryrefslogtreecommitdiff
path: root/linux-user/strace.c
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2013-02-23 16:14:08 -0700
committerRiku Voipio <riku.voipio@linaro.org>2013-03-11 13:05:01 +0200
commitbfb669f39f2ecd854992924ced20b00163509043 (patch)
treed8e1c5f72501eb155bbad8d63e1774108e7f469b /linux-user/strace.c
parentcce246e0a21577bb2372ab3a7d6789371e087de9 (diff)
linux-user: fix futex strace of FUTEX_CLOCK_REALTIME
Handle same as existing FUTEX_PRIVATE_FLAG. Signed-off-by: John Rigby <john.rigby@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/strace.c')
-rw-r--r--linux-user/strace.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c
index 9a181460ec..0fbae3c2f6 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -1498,6 +1498,12 @@ if( cmd == val ) { \
cmd &= ~FUTEX_PRIVATE_FLAG;
}
#endif
+#ifdef FUTEX_CLOCK_REALTIME
+ if (cmd & FUTEX_CLOCK_REALTIME) {
+ gemu_log("FUTEX_CLOCK_REALTIME|");
+ cmd &= ~FUTEX_CLOCK_REALTIME;
+ }
+#endif
print_op(FUTEX_WAIT)
print_op(FUTEX_WAKE)
print_op(FUTEX_FD)