summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-09-17 16:37:36 -0700
committerJosh Stone <jistone@redhat.com>2009-09-17 16:52:31 -0700
commit4ddb6dd03ee4364bdb36bc32888846faad48a080 (patch)
treebfc76fbbea9aa5f50b6ec7da6ea8eabcb0fbc1e5 /main.cxx
parent6bde4f381475cea055352d8ad5f60bb2f24de21d (diff)
downloadsystemtap-steved-4ddb6dd03ee4364bdb36bc32888846faad48a080.tar.gz
systemtap-steved-4ddb6dd03ee4364bdb36bc32888846faad48a080.tar.xz
systemtap-steved-4ddb6dd03ee4364bdb36bc32888846faad48a080.zip
Map std semaphores from probe->addr
Each probe needs to know the associated semaphore address, rather than the other way around. * session.h (sdt_semaphore_addr): Reverse the key-value types. * tapsets.cxx (record_semaphore): Take an index to only record the semaphore for newly added results. (sdt_query::handle_query_module): Adjust accordingly. (uprobe_derived_probe_group::emit_module_decls): Now it's a simple map lookup for sdt_sem_address. * tapset-utrace.cxx (utrace_derived_probe_group::emit_probe_decl): Ditto.
Diffstat (limited to 'main.cxx')
0 files changed, 0 insertions, 0 deletions