From 01c829fe9f5a670ba37a970c66723e8737fe0287 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Sat, 6 Mar 2010 13:08:22 -0800 Subject: Move semko/nineteen.stp to semok The *ko tests are for things that SHOULD fail, but semko/nineteen is a test that should pass but often doesn't (due to inline var trouble). It should be in semok to set the expectation properly. It does pass on F12 now, but if we want to silence the error for older gcc, setup_kfail is the right approach. --- testsuite/semok/thirtynine.stp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 testsuite/semok/thirtynine.stp (limited to 'testsuite/semok') diff --git a/testsuite/semok/thirtynine.stp b/testsuite/semok/thirtynine.stp new file mode 100755 index 00000000..a3b060cd --- /dev/null +++ b/testsuite/semok/thirtynine.stp @@ -0,0 +1,7 @@ +#! stap -p2 + +# PR 1155 discusses the trouble with inlines, but ideally this should work. + +probe kernel.function("context_switch") { + printf("switch from=0x%x to=0x%x\n", $prev, $next) +} -- cgit