From a721fbcf46a1d80e180670c8b68ce7f159b2a28a Mon Sep 17 00:00:00 2001 From: hiramatu Date: Thu, 6 Sep 2007 18:08:44 +0000 Subject: 2007-09-06 Masami Hiramatsu PR4542 * tapsets.cxx (dwarf_query::build_blacklist): add __switch_to to blacklisted_return_probes on i686 * systemtap.stress/current.stp: Don't probe the return of __switch_to on i686 --- testsuite/ChangeLog | 6 ++++++ testsuite/systemtap.stress/current.stp | 17 ++++++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) (limited to 'testsuite') diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index be9ac35f..5d49161e 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-09-06 Masami Hiramatsu + + PR 4542 + * systemtap.stress/current.stp: Don't probe the return of __switch_to + on i686. + 2007-08-27 Martin Hunt * systemtap.context/context.exp (build_modules): Change diff --git a/testsuite/systemtap.stress/current.stp b/testsuite/systemtap.stress/current.stp index ddc298d4..09e54bad 100644 --- a/testsuite/systemtap.stress/current.stp +++ b/testsuite/systemtap.stress/current.stp @@ -18,13 +18,16 @@ probe begin { log("systemtap starting probe") } probe timer.profile, - %( arch != "x86_64" %? - # __switch_to.return is broken on x86_64 - see PR2068 - %( arch != "ia64" %? - # __switch_to is macro definition in ia64, - # and ia64_switch_to is defined in assemble language - kernel.function("__switch_to").call, - kernel.function("__switch_to").return, + %( arch != "ia64" %? + # __switch_to is macro definition in ia64, + # and ia64_switch_to is defined in assemble language + %( arch != "x86_64" %? + # __switch_to can not be probed on x86_64 - see PR2068 + kernel.function("__switch_to").call, + %( arch != "i686" %? + # __switch_to.return is broken on i686 - see PR4542 + kernel.function("__switch_to").return, + %) %) %) -- cgit