diff options
author | Zhaolei <zhaolei@cn.fujitsu.com> | 2008-06-10 17:55:11 +0800 |
---|---|---|
committer | Zhaolei <zhaolei@cn.fujitsu.com> | 2008-06-10 17:55:11 +0800 |
commit | c12002df43cf4f784973bc539f00cdaa9ce72706 (patch) | |
tree | 3e0486c83c5b7e668369fe8af0cf59e34e4a1bc6 /tapset | |
parent | cdf6ed559ae01a88691849b1f5690cac15c8d3ae (diff) | |
download | systemtap-steved-c12002df43cf4f784973bc539f00cdaa9ce72706.tar.gz systemtap-steved-c12002df43cf4f784973bc539f00cdaa9ce72706.tar.xz systemtap-steved-c12002df43cf4f784973bc539f00cdaa9ce72706.zip |
syscalls.stp(syscall.mkdirat): Use _dfd_str() to add support for AT_FDCWD.
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/ChangeLog | 5 | ||||
-rw-r--r-- | tapset/syscalls.stp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 7a7fa183..4e78c75a 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,8 @@ +2008-06-10 Zhaolei <zhaolei@cn.fujitsu.com> + + * syscalls.stp(syscall.mkdirat): Use _dfd_str() to add support + for AT_FDCWD. + 2008-06-09 David Smith <dsmith@redhat.com> * x86_64/registers.stp (syscall_nr): Added syscall_nr function. diff --git a/tapset/syscalls.stp b/tapset/syscalls.stp index cf824f67..4f97153f 100644 --- a/tapset/syscalls.stp +++ b/tapset/syscalls.stp @@ -2329,7 +2329,7 @@ probe syscall.mkdirat = kernel.function("sys_mkdirat") ? { dirfd = $dfd pathname = user_string($pathname) mode = $mode - argstr = sprintf("%d, %s, %#o", $dfd, user_string_quoted($pathname), $mode) + argstr = sprintf("%s, %s, %#o", _dfd_str($dfd), user_string_quoted($pathname), $mode) } probe syscall.mkdirat.return = kernel.function("sys_mkdirat").return ? { name = "mkdirat" |