diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | main.cxx | 3 | ||||
-rw-r--r-- | tapsets.cxx | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2006-12-16 Frank Ch. Eigler <fche@elastic.org> + + * main.cxx (main): Print version strings if verbose >=2 . + * tapsets.cxx (common_probe_entryfn_prologue): Decorate an + emitted local with __restrict__. + 2006-12-14 David Smith <dsmith@redhat.com> * tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added @@ -418,8 +418,9 @@ main (int argc, char * const argv []) s.kernel_base_release.assign(s.kernel_release, 0, s.kernel_release.find('-')); - // arguments parsed; get down to business + if (s.verbose > 1) + version (); // Create a temporary directory to build within. // Be careful with this, as "s.tmpdir" is "rm -rf"'d at the end. diff --git a/tapsets.cxx b/tapsets.cxx index 237ee742..a149a913 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -167,7 +167,7 @@ be_derived_probe::join_group (systemtap_session& s) void common_probe_entryfn_prologue (translator_output* o, string statestr) { - o->newline() << "struct context* c;"; + o->newline() << "struct context* __restrict__ c;"; o->newline() << "unsigned long flags;"; #if 0 |