diff options
author | hiramatu <hiramatu> | 2008-02-27 16:46:49 +0000 |
---|---|---|
committer | hiramatu <hiramatu> | 2008-02-27 16:46:49 +0000 |
commit | a2dc47ddef0dbed1b0dc912c876f5f57f97c1ede (patch) | |
tree | 65f8bc63b516fe525af1409fad83f44235d9e675 | |
parent | 34201621cc07339371c8d74ce0fe609d967771d4 (diff) | |
download | systemtap-steved-a2dc47ddef0dbed1b0dc912c876f5f57f97c1ede.tar.gz systemtap-steved-a2dc47ddef0dbed1b0dc912c876f5f57f97c1ede.tar.xz systemtap-steved-a2dc47ddef0dbed1b0dc912c876f5f57f97c1ede.zip |
2008-02-27 Masami Hiramatsu <mhiramat@redhat.com>
* x86_64/syscalls.stp (syscall.iopl): Use new_iopl instead of level
on xen kernel.
-rw-r--r-- | tapset/ChangeLog | 5 | ||||
-rw-r--r-- | tapset/x86_64/syscalls.stp | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 94071f07..e198b9e5 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,8 @@ +2008-02-27 Masami Hiramatsu <mhiramat@redhat.com> + + * x86_64/syscalls.stp (syscall.iopl): Use new_iopl instead of level + on xen kernel. + 2008-01-25 Will Cohen <wcohen@redhat.com> PR5554 diff --git a/tapset/x86_64/syscalls.stp b/tapset/x86_64/syscalls.stp index 1b39e04e..418aaf23 100644 --- a/tapset/x86_64/syscalls.stp +++ b/tapset/x86_64/syscalls.stp @@ -23,8 +23,12 @@ probe syscall.arch_prctl.return = kernel.function("sys_arch_prctl").return { # probe syscall.iopl = kernel.function("sys_iopl") { name = "iopl" +%( kernel_vr == "*xen" %? + level = $new_iopl +%: level = $level - argstr = sprint($level) +%) + argstr = sprint(level) } probe syscall.iopl.return = kernel.function("sys_iopl").return { name = "iopl" |