diff options
author | Josh Stone <jistone@redhat.com> | 2009-09-17 18:35:12 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-09-17 18:35:12 -0700 |
commit | a9b593471a5d22c820333938d4c4210efd63bd3a (patch) | |
tree | cd8b863d70edc5f47bdd6a2e439a4238b014553f /main.cxx | |
parent | 5c34cc891d6929ff9cd52b6fe725873c181b094e (diff) | |
download | systemtap-steved-a9b593471a5d22c820333938d4c4210efd63bd3a.tar.gz systemtap-steved-a9b593471a5d22c820333938d4c4210efd63bd3a.tar.xz systemtap-steved-a9b593471a5d22c820333938d4c4210efd63bd3a.zip |
Simplify the sdt semaphore decrement in utrace
The decrement can happen at the same time that the utrace detach is
called. However, I'm concerned that this code isn't correctly handling
the case where multiple tasks may register the same probe, so for now
I've noted those places. I think task finder may have to help in fixing
this...
* tapset-utrace.cxx (utrace_derived_probe_group::emit_module_init): As
noted in uprobes-land, there's no need to tear down anything.
(utrace_derived_probe_group::emit_module_exit): Unify the detach and
semaphore decrement, and note a concern about multiple tasks.
(utrace_derived_probe_group::emit_module_decls): Note same concern.
* tapsets.cxx (uprobe_derived_probe_group::emit_module_decls): Ditto.
(uprobe_derived_probe_group::emit_module_exit): Ditto.
Diffstat (limited to 'main.cxx')
0 files changed, 0 insertions, 0 deletions