summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tapset/ChangeLog5
-rw-r--r--tapset/x86_64/syscalls.stp6
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"