diff options
author | dsmith <dsmith> | 2006-05-16 16:13:09 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2006-05-16 16:13:09 +0000 |
commit | 0f8b6058e5f31c7318e5d873ad732bc9946ff1b5 (patch) | |
tree | f9fe1fd5fb7e53764581c1f238f6b58dfac67535 /tapset/x86_64/syscalls.stp | |
parent | ffd1346fe1294b4d8a589f7085e394f091761378 (diff) | |
download | systemtap-steved-0f8b6058e5f31c7318e5d873ad732bc9946ff1b5.tar.gz systemtap-steved-0f8b6058e5f31c7318e5d873ad732bc9946ff1b5.tar.xz systemtap-steved-0f8b6058e5f31c7318e5d873ad732bc9946ff1b5.zip |
2006-05-16 David Smith <dsmith@redhat.com>
* conversions.stp (hexstring, string): Removed functions. Because
of parser changes, "string" is now a reserved word and cannot be a
function name. Use 'sprintf("0x%x", num)' to replace hexstring()
and either 'sprint(num)' or 'sprintf("%d", num)' to replace
string().
* syscalls.stp (syscall.accept, syscall.alarm, syscall.close,
syscall.dup, syscall.epoll_create, syscall.exit, syscall.fchdir,
syscall.fdatasync, syscall.fsync, syscall.getsid) Changed
'string()' calls to 'sprint()' calls.
* syscalls2.stp (syscall.sched_get_priority_max,
syscall.sched_get_priority_min, syscall.sched_getscheduler,
syscall.setfsgid, syscall.setfsgid16, syscall.setfsuid,
syscall.setfsuid16, syscall.setgid, syscall.setgid16,
syscall.setuid, syscall.setuid16, syscall.ssetmask,
syscall.timer_delete, syscall.timer_getoverrun): Ditto.
* i686/syscalls.stp (syscall.iopl, syscall.rt_sigreturn,
syscall.sigreturn): Ditto.
* ppc64/syscalls.stp (syscall.ppc64_personality): Ditto.
* x86_64/syscalls.stp (kernel.syscall.iopl, kernel.syscall.umask):
Ditto.
* test/ctostp.sh: Uses 'sprint()' instead of 'string()' in
generated systemtap code.
Diffstat (limited to 'tapset/x86_64/syscalls.stp')
-rw-r--r-- | tapset/x86_64/syscalls.stp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset/x86_64/syscalls.stp b/tapset/x86_64/syscalls.stp index 0d8a73ee..b97ca7b0 100644 --- a/tapset/x86_64/syscalls.stp +++ b/tapset/x86_64/syscalls.stp @@ -242,7 +242,7 @@ probe kernel.syscall.get_mempolicy.return = probe kernel.syscall.iopl = kernel.function("sys_iopl") { name = "iopl" level = $level - argstr = string($level) + argstr = sprint($level) } probe kernel.syscall.iopl.return = kernel.function("sys_iopl").return { name = "iopl" @@ -412,7 +412,7 @@ probe kernel.syscall.umask = kernel.function("sys_umask") { /* * doesnt like $mask on x86_64 ???? */ - argstr = string($mask) + argstr = sprint($mask) } probe kernel.syscall.umask.return = kernel.function("sys_umask").return { name = "umask" |