From dfd11cc3ea340096a2829f5ecda29998c73a0acb Mon Sep 17 00:00:00 2001 From: hiramatu Date: Wed, 5 Dec 2007 20:02:01 +0000 Subject: 2007-12-05 Masami Hiramatsu PR 4935 * tapsets.cxx (dwarf_derived_probe::dwarf_derived_probe): Allow user to access kernel variables in the condition of probe points. * stapprobes.5.in : Document the conditional probe point. * NEWS : Ditto. * parseok/five.stp: Add an example of conditional probe point. * parseko/probepoint04.stp: New test for conditional probe point. * parseko/probepoint05.stp: Ditto. * parseko/probepoint06.stp: Ditto. * parseko/probepoint07.stp: Ditto. * parseko/probepoint08.stp: Ditto. * parseko/probepoint09.stp: Ditto. * semok/twentynine.stp: Ditto. * semko/thirtynine.stp: Ditto. * systemtap.base/onoffprobe.*: Ditto. --- testsuite/parseok/five.stp | 1 + 1 file changed, 1 insertion(+) (limited to 'testsuite/parseok') diff --git a/testsuite/parseok/five.stp b/testsuite/parseok/five.stp index e1b5d94a..a226dfe2 100755 --- a/testsuite/parseok/five.stp +++ b/testsuite/parseok/five.stp @@ -19,3 +19,4 @@ probe resource.freemembelow(50) {} # pages? probe begin {} probe something?, or?, nothing? {} probe something!, or, nothing!, and?, zoo {} +probe something? if (ture), or, nothing! if (false), then* if (0) {} -- cgit