diff options
author | fche <fche> | 2007-08-09 16:27:21 +0000 |
---|---|---|
committer | fche <fche> | 2007-08-09 16:27:21 +0000 |
commit | 69a8052f3b44293e76e60213e1aca9881b311984 (patch) | |
tree | 91a7f042cca575d8a134f41d9b4e8dca014fb849 /tapset/aux_syscalls.stp | |
parent | 991c8c53e952bad58f05b44c986c2870d1282260 (diff) | |
download | systemtap-steved-69a8052f3b44293e76e60213e1aca9881b311984.tar.gz systemtap-steved-69a8052f3b44293e76e60213e1aca9881b311984.tar.xz systemtap-steved-69a8052f3b44293e76e60213e1aca9881b311984.zip |
2007-08-09 Frank Ch. Eigler <fche@elastic.org>
From Cai Fei <caifei@cn.fujitsu.com>:
* aux_syscalls.stp (__fork_flags): Decode CLONE_VM, NEWNS, DETACHED.
Diffstat (limited to 'tapset/aux_syscalls.stp')
-rw-r--r-- | tapset/aux_syscalls.stp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index e566c53f..758cd878 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -559,6 +559,8 @@ function __fork_flags:string(flags:long) int len; long flags = THIS->flags; char *str = THIS->__retvalue; + if (flags & CLONE_VM) + strlcat(str,"CLONE_VM|", MAXSTRINGLEN); if (flags & CLONE_FS) strlcat(str,"CLONE_FS|", MAXSTRINGLEN); if (flags & CLONE_FILES) @@ -573,6 +575,8 @@ function __fork_flags:string(flags:long) strlcat(str, "CLONE_PARENT|", MAXSTRINGLEN); if (flags & CLONE_THREAD) strlcat(str, "CLONE_THREAD|", MAXSTRINGLEN); + if (flags & CLONE_NEWNS) + strlcat(str,"CLONE_NEWNS|", MAXSTRINGLEN); if (flags & CLONE_SYSVSEM) strlcat(str, "CLONE_SYSVSEM|", MAXSTRINGLEN); if (flags & CLONE_SETTLS) @@ -581,6 +585,8 @@ function __fork_flags:string(flags:long) strlcat(str, "CLONE_PARENT_SETTID|", MAXSTRINGLEN); if (flags & CLONE_CHILD_CLEARTID) strlcat(str, "CLONE_CHILD_CLEARTID|", MAXSTRINGLEN); + if (flags & CLONE_DETACHED) + strlcat(str, "CLONE_DETACHED|", MAXSTRINGLEN); if (flags & CLONE_UNTRACED) strlcat(str, "CLONE_UNTRACED|", MAXSTRINGLEN); if (flags & CLONE_CHILD_SETTID) |