diff options
author | fche <fche> | 2006-06-02 18:09:29 +0000 |
---|---|---|
committer | fche <fche> | 2006-06-02 18:09:29 +0000 |
commit | 6e3347a9815f4a457b6393a22f21b6f2c6b588af (patch) | |
tree | 601c0606344da1c306fe96ee32a264a29c42b5a0 /translate.cxx | |
parent | 988b22347d6598de909457326d9a7a470e3f631c (diff) | |
download | systemtap-steved-6e3347a9815f4a457b6393a22f21b6f2c6b588af.tar.gz systemtap-steved-6e3347a9815f4a457b6393a22f21b6f2c6b588af.tar.xz systemtap-steved-6e3347a9815f4a457b6393a22f21b6f2c6b588af.zip |
2006-06-02 Frank Ch. Eigler <fche@elastic.org>
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.
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translate.cxx b/translate.cxx index 2ee2aac2..eb64d9d0 100644 --- a/translate.cxx +++ b/translate.cxx @@ -1037,7 +1037,7 @@ c_unparser::emit_module_init () o->newline() << "const char *error;"; o->newline() << "if (stats->count) {"; o->newline(1) << "int64_t avg = _stp_div64 (&error, stats->sum, stats->count);"; - o->newline() << "_stp_printf (\"probe %s (%s), %lld hits, %lld min %lld avg %lld max cycles\\n\","; + o->newline() << "_stp_printf (\"probe %s (%s), %lld hits taking %lldmin/%lldavg/%lldmax cycles.\\n\","; o->newline() << "probe_point, decl_location, (long long) stats->count, (long long) stats->min, (long long) avg, (long long) stats->max);"; o->newline() << "_stp_print_flush();"; o->newline(-1) << "}"; |