summaryrefslogtreecommitdiffstats
path: root/tapset/syscalls2.stp
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2010-01-13 09:30:12 -0600
committerDavid Smith <dsmith@redhat.com>2010-01-13 09:30:12 -0600
commitc74bc9e5e177f947cdac9788d0272fa4d66780b9 (patch)
treebe3f3fdc0617056ffe7226444bd92b89c0a18fcb /tapset/syscalls2.stp
parent275ea5e8ee085af6a7782fe3acbffe07645aa0a4 (diff)
downloadsystemtap-steved-c74bc9e5e177f947cdac9788d0272fa4d66780b9.tar.gz
systemtap-steved-c74bc9e5e177f947cdac9788d0272fa4d66780b9.tar.xz
systemtap-steved-c74bc9e5e177f947cdac9788d0272fa4d66780b9.zip
Fix PR11160 by handling ppc syscall.sigaction32 correctly.
* tapset/aux_syscalls.stp (_struct_old_sigaction32_u): New function. * tapset/syscalls2.stp (syscall.sigaction32): Uses new _struct_old_sigaction32() function to provide a human readable version of the sigaction argument. * testsuite/systemtap.syscall/test.tcl (run_one_test): Use additional C flags when pre-processing test files to better determine which tests are valid on which platforms.
Diffstat (limited to 'tapset/syscalls2.stp')
-rw-r--r--tapset/syscalls2.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/syscalls2.stp b/tapset/syscalls2.stp
index 37f07afb..8f4e1b8a 100644
--- a/tapset/syscalls2.stp
+++ b/tapset/syscalls2.stp
@@ -2463,7 +2463,7 @@ probe syscall.sigaction32 = kernel.function("sys32_sigaction").call ?
sig = $sig
act_uaddr = $act
oact_uaddr = $oact
- argstr = sprintf("%s, %p, %p", _signal_name($sig), $act, $oact)
+ argstr = sprintf("%s, {%s}, %p", _signal_name($sig), _struct_old_sigaction32_u($act), $oact)
}
probe syscall.sigaction32.return = kernel.function("sys32_sigaction").return ?
{