summaryrefslogtreecommitdiffstats
path: root/tapset/syscalls2.stp
diff options
context:
space:
mode:
authorhunt <hunt>2006-06-26 17:45:15 +0000
committerhunt <hunt>2006-06-26 17:45:15 +0000
commitcdec6e886e20a034d610ac34a9fdf7f77fee1b23 (patch)
tree59b0486839648266c076fc4d93412b1c10b903da /tapset/syscalls2.stp
parent51bb792946b6ec2fb7d99195a898a4ada97a9a5a (diff)
downloadsystemtap-steved-cdec6e886e20a034d610ac34a9fdf7f77fee1b23.tar.gz
systemtap-steved-cdec6e886e20a034d610ac34a9fdf7f77fee1b23.tar.xz
systemtap-steved-cdec6e886e20a034d610ac34a9fdf7f77fee1b23.zip
Fix sys_utime
Diffstat (limited to 'tapset/syscalls2.stp')
-rw-r--r--tapset/syscalls2.stp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tapset/syscalls2.stp b/tapset/syscalls2.stp
index bf42cf2e..4ad9d1b3 100644
--- a/tapset/syscalls2.stp
+++ b/tapset/syscalls2.stp
@@ -2206,7 +2206,8 @@ probe syscall.utime = kernel.function("sys_utime") {
filename_uaddr = $filename
filename = user_string($filename)
buf_uaddr = $times
- argstr = sprintf("%s, [%p]", filename, buf_uaddr)
+ buf_str = _struct_utimbuf_u($times)
+ argstr = sprintf("\"%s\", [%s]", filename, buf_str)
}
probe syscall.utime.return = kernel.function("sys_utime").return {
name = "utime"