From 6e3347a9815f4a457b6393a22f21b6f2c6b588af Mon Sep 17 00:00:00 2001 From: fche Date: Fri, 2 Jun 2006 18:09:29 +0000 Subject: 2006-06-02 Frank Ch. Eigler PR 2645. * stapprobes.5.in: Document "?" probe point suffix. * parse.cxx (parse_probe_point): Recognize "?" optional suffix. * elaborate.cxx (derive_probes): Observe probe_point->optional. * staptree.h, staptree.cxx: Corresponding changes. * tapsets.cxx (never_derived_probe, never_builder): New classes. (register_standard_tapsets): Support "never" probe point. * testsuite/buildok/six.stp, parseok/five.stp: Modifed tests. * translate.cxx (emit_module_init): Format "-t" (benchmarking) cycle-time reports similarly to "-v" (verbose) times. --- staptree.h | 1 + 1 file changed, 1 insertion(+) (limited to 'staptree.h') diff --git a/staptree.h b/staptree.h index b2512054..fc5c590f 100644 --- a/staptree.h +++ b/staptree.h @@ -561,6 +561,7 @@ struct probe_point }; std::vector components; const token* tok; // points to first component's functor + bool optional; void print (std::ostream& o) const; probe_point (); probe_point(std::vector const & comps,const token * t); -- cgit