summaryrefslogtreecommitdiffstats
path: root/tapset/aux_syscalls.stp
diff options
context:
space:
mode:
authorzhaolei <zhaolei>2007-08-21 02:11:36 +0000
committerzhaolei <zhaolei>2007-08-21 02:11:36 +0000
commit8f6aa2c8e31c1ff7c37224f025f53e0c0d77f972 (patch)
treea40db1adaa94760a6db907f998255fd181c2279d /tapset/aux_syscalls.stp
parent656bd757e430d863575914ba05c6e644836d7848 (diff)
downloadsystemtap-steved-8f6aa2c8e31c1ff7c37224f025f53e0c0d77f972.tar.gz
systemtap-steved-8f6aa2c8e31c1ff7c37224f025f53e0c0d77f972.tar.xz
systemtap-steved-8f6aa2c8e31c1ff7c37224f025f53e0c0d77f972.zip
2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>
* aux_syscalls.stp (_recvflags_str): Add support for MSG_DONTWAIT used in recv, recvfrom, recvmsg, compat_sys_recvmsg
Diffstat (limited to 'tapset/aux_syscalls.stp')
-rw-r--r--tapset/aux_syscalls.stp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp
index 3009566a..f8928fd0 100644
--- a/tapset/aux_syscalls.stp
+++ b/tapset/aux_syscalls.stp
@@ -1095,6 +1095,7 @@ function _recvflags_str(f) {
if(f & 1) bs="MSG_OOB|".bs
if(f & 2) bs="MSG_PEEK|".bs
if(f & 32) bs="MSG_TRUNC|".bs
+ if(f & 64) bs="MSG_DONTWAIT|".bs
if(f & 256) bs="MSG_WAITALL|".bs
if(f & 8192) bs="MSG_ERRQUEUE|".bs
return substr(bs,0,strlen(bs)-1)