summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-10-06 20:01:13 -0700
committerJosh Stone <jistone@redhat.com>2009-10-06 20:01:13 -0700
commit038c38c6119e29189be83c3a214c635c0d02ee58 (patch)
tree52dcb2eccaee50dc4ab6684b4aec80f8b6a4663d /session.h
parent47f025139d1c2e75781cdab40dc9195396133754 (diff)
downloadsystemtap-steved-038c38c6119e29189be83c3a214c635c0d02ee58.tar.gz
systemtap-steved-038c38c6119e29189be83c3a214c635c0d02ee58.tar.xz
systemtap-steved-038c38c6119e29189be83c3a214c635c0d02ee58.zip
Remove the global derived_probe->semaphore map
Instead just make the semaphore address a member of derived_probe. * session.h (systemtap_session): Remove the map sdt_semaphore_addr. * elaborate.h (derived_probe): Add sdt_semaphore_addr directly. * tapsets.cxx (sdt_query::record_semaphore): Write the addr directly. (uprobe_derived_probe_group::emit_module_decls): Read it directly. * tapset-utrace.cxx (utrace_derived_probe_group::emit_probe_decl): Ditto
Diffstat (limited to 'session.h')
-rw-r--r--session.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/session.h b/session.h
index 760b610a..a2176793 100644
--- a/session.h
+++ b/session.h
@@ -221,10 +221,6 @@ struct systemtap_session
void print_error_source (std::ostream&, std::string&, const token* tok);
void print_warning (const std::string& w, const token* tok = 0);
-
- // Location of semaphores to activate sdt probes
- std::map<derived_probe*, Dwarf_Addr> sdt_semaphore_addr;
-
// NB: It is very important for all of the above (and below) fields
// to be cleared in the systemtap_session ctor (elaborate.cxx)
// and/or main.cxx(main).