From d898100ab001dd4b3465f738dad76d1d646c3261 Mon Sep 17 00:00:00 2001 From: fche Date: Tue, 20 Nov 2007 03:59:19 +0000 Subject: PR 3887: sufficient+optional probe points 2007-11-19 Frank Ch. Eigler PR 3887. * staptree.h (probe_point): Add "sufficient" field. * staptree.cxx: Initialize it, print it. * parse.cxx (parse_probe_point): Parse it. * elaborate.cxx (derive_probes): Implement it. * stapprobes.5.in: Document it. * NEWS: Gloat about it. * parseok/five.stp, semok/twentyseven.stp: Test "!" probe point flag. * iostat-scsi.stp: Adopt "!" probe point flag. --- staptree.h | 1 + 1 file changed, 1 insertion(+) (limited to 'staptree.h') diff --git a/staptree.h b/staptree.h index 23f43566..d8c97633 100644 --- a/staptree.h +++ b/staptree.h @@ -573,6 +573,7 @@ struct probe_point std::vector components; const token* tok; // points to first component's functor bool optional; + bool sufficient; void print (std::ostream& o) const; probe_point (); probe_point(std::vector const & comps,const token * t); -- cgit