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/systemtap.stress/current.stp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'testsuite/systemtap.stress/current.stp') 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