]> sourceware.org Git - systemtap.git/commitdiff
java: make sure that rulename-based filter gets into synthetic probe release-2.2.1
authorFrank Ch. Eigler <fche@redhat.com>
Thu, 16 May 2013 14:30:37 +0000 (10:30 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Thu, 16 May 2013 14:30:37 +0000 (10:30 -0400)
* tapset-method.cxx (java_builder::build): Put the rewritten body
  into the copied synthetic probe, not the original (?!).

tapset-method.cxx

index fcdc3cd1853d9c439222271e84909c0e7492d964..453f8515d336305a9c8019fcddab9f77ee46a59e 100644 (file)
@@ -300,7 +300,7 @@ java_builder::build (systemtap_session & sess,
 
   derived_loc->components = java_marker;
   probe* new_mark_probe = new probe (base, derived_loc);
-  base->body = b;
+  new_mark_probe->body = b;
 
   derive_probes (sess, new_mark_probe, finished_results);
 
This page took 0.030412 seconds and 5 git commands to generate.