diff options
author | David Smith <dsmith@redhat.com> | 2009-05-28 10:58:17 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-06-09 15:28:06 -0500 |
commit | 0bd709c3a8ff717f3ad78fdc079ce0468bec3ffa (patch) | |
tree | adde7226bf83e1692482683704cb1025216c34d9 /main.cxx | |
parent | af274e5bd4593fa79c0489e0b6105f4bd23310c8 (diff) | |
download | systemtap-steved-0bd709c3a8ff717f3ad78fdc079ce0468bec3ffa.tar.gz systemtap-steved-0bd709c3a8ff717f3ad78fdc079ce0468bec3ffa.tar.xz systemtap-steved-0bd709c3a8ff717f3ad78fdc079ce0468bec3ffa.zip |
Avoid 1 case of holding a semaphore while mmap callbacks are being made.
* runtime/task_finder.c (__stp_call_mmap_callbacks_with_addr): Renamed
from __stp_call_mmap_callbacks_with_vma(). Also added some code from
__stp_utrace_task_finder_target_syscall_exit() that locks the 'mmap_sem'
semaphore. This avoids holding the semaphore while the mmap callbacks
are made.
(__stp_utrace_task_finder_target_syscall_exit): Just calls
__stp_call_mmap_callbacks_with_addr() in the mmap case.
Diffstat (limited to 'main.cxx')
0 files changed, 0 insertions, 0 deletions