diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | testsuite/systemtap.base/alternatives.exp | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 727d97bd..83d54847 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-03-06 David Smith <dsmith@redhat.com> + + * systemtap.base/alternatives.exp: Changed the probed kernel + function from 'signal_wake_up' (which wasn't present on some + kernels) to 'sys_getrlimit'. + 2007-03-02 Frank Ch. Eigler <fche@elastic.org> PR 4121 diff --git a/testsuite/systemtap.base/alternatives.exp b/testsuite/systemtap.base/alternatives.exp index 31a877e4..fe285318 100644 --- a/testsuite/systemtap.base/alternatives.exp +++ b/testsuite/systemtap.base/alternatives.exp @@ -14,11 +14,11 @@ # listed, but that some alternatives are listed. set local1_script { - probe kernel.function("signal_wake_up") { x = $z; } + probe kernel.function("sys_getrlimit") { x = $z; } } set struct1_script { - probe kernel.function("signal_wake_up") { sig_pid = $t->pig; } + probe kernel.function("sys_getrlimit") { rlim_cur = $rlim->rlim_cud; } } proc stap_run_alternatives {args} { |