From a971b891bbdd51e2f1111a41ffff9dfd5e171ab4 Mon Sep 17 00:00:00 2001 From: fche Date: Mon, 5 Jun 2006 19:45:56 +0000 Subject: 2006-06-05 Frank Ch. Eigler PR 2645 cont'd. * elaborate.cxx (derive_probes): Pass down optional flag from alias reference to expansion. * testsuite/semok/twentytwo.stp: Test passing-down. * stapprobes.5.in: Specify passing-down property of optional flag. --- testsuite/semok/twentytwo.stp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'testsuite') diff --git a/testsuite/semok/twentytwo.stp b/testsuite/semok/twentytwo.stp index f8f44ffb..b5fcb3a0 100755 --- a/testsuite/semok/twentytwo.stp +++ b/testsuite/semok/twentytwo.stp @@ -1,10 +1,15 @@ #! stap -p2 -probe foo.a = kernel.function("no_such_function")?, never { "alias a" } +probe foo.a = kernel.function("no_such_function")?, never { } probe foo.* { } -probe baz.a = kernel.function("no_such_function") { "alias a" } +probe baz.a = kernel.function("no_such_function") { } probe baz.* ? { } -probe bar = kernel.function("no_such_function") { "alias b" } +probe bar = kernel.function("no_such_function") { } probe bar ? { } + +probe bar3 = kernel.function("no_such_function") { } +probe bar2 = bar3 { } +probe bar2 ? { } + -- cgit