summaryrefslogtreecommitdiffstats
path: root/tapset/syscalls.stp
diff options
context:
space:
mode:
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>2008-11-21 15:03:53 +0530
committerSrikar Dronamraju <srikar@linux.vnet.ibm.com>2008-11-21 15:03:53 +0530
commit63ef59c300b42bfda9fe53549f24ce09fcb360b6 (patch)
tree9b15ceeb89bf0df86f405738fac9433b6cea7e71 /tapset/syscalls.stp
parent6a0a4ff132d5188e1298f88597aa7811df85c796 (diff)
downloadsystemtap-steved-63ef59c300b42bfda9fe53549f24ce09fcb360b6.tar.gz
systemtap-steved-63ef59c300b42bfda9fe53549f24ce09fcb360b6.tar.xz
systemtap-steved-63ef59c300b42bfda9fe53549f24ce09fcb360b6.zip
Handle a clone case which should behave like fork
Diffstat (limited to 'tapset/syscalls.stp')
-rw-r--r--tapset/syscalls.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/syscalls.stp b/tapset/syscalls.stp
index 89b3c730..4744412a 100644
--- a/tapset/syscalls.stp
+++ b/tapset/syscalls.stp
@@ -956,7 +956,7 @@ probe syscall.fork = kernel.function("do_fork") {
if (!__is_user_regs(regs)) {
name = "fork_kernel_thread"
argstr = __fork_flags(clone_flags)
- } else if (clone_flags == 17)
+ } else if (clone_flags & 17)
name = "fork"
else if (clone_flags & 0x4000)
name = "vfork"