diff options
author | David Smith <dsmith@redhat.com> | 2010-01-13 09:30:12 -0600 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2010-01-13 09:30:12 -0600 |
commit | c74bc9e5e177f947cdac9788d0272fa4d66780b9 (patch) | |
tree | be3f3fdc0617056ffe7226444bd92b89c0a18fcb /tapset/syscalls2.stp | |
parent | 275ea5e8ee085af6a7782fe3acbffe07645aa0a4 (diff) | |
download | systemtap-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.stp | 2 |
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 ? { |