]> sourceware.org Git - systemtap.git/commitdiff
Explain add_block_tid and add_call_probe_tid
authorJosh Stone <jistone@redhat.com>
Tue, 24 Jul 2012 21:07:30 +0000 (14:07 -0700)
committerJosh Stone <jistone@redhat.com>
Tue, 24 Jul 2012 21:07:30 +0000 (14:07 -0700)
Commit 8cc799a5d mentioned their need, but it should be commented.

tapsets.cxx

index 62b0508747d35586e9d7264ca2e70df5d6b61834..9141ef4a9a57e2418413818a786896124aa871e4 100644 (file)
@@ -2187,6 +2187,9 @@ struct dwarf_var_expanding_visitor: public var_expanding_visitor
   Dwarf_Addr addr;
   block *add_block;
   block *add_call_probe; // synthesized from .return probes with saved $vars
+  // NB: tids are not always collected in add_block & add_call_probe, because
+  // gen_kretprobe_saved_return doesn't need them.  Thus we need these extra
+  // *_tid bools for gen_mapped_saved_return to tell what's there.
   bool add_block_tid, add_call_probe_tid;
   unsigned saved_longs, saved_strings; // data saved within kretprobes
   map<std::string, expression *> return_ts_map;
This page took 0.038818 seconds and 5 git commands to generate.