diff options
author | David Smith <dsmith@redhat.com> | 2010-03-01 15:17:09 -0600 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2010-03-01 15:17:09 -0600 |
commit | bfbbb76e5d0294cc1d44f42ab6c2d91149067b6c (patch) | |
tree | 24bba7fe93496f46cdaa558040c8c3433c4d6510 /doc/tutorial/inode-watch.stp | |
parent | 6861e05642c23c569ef34d49bfa3fe83e2badc11 (diff) | |
download | systemtap-steved-bfbbb76e5d0294cc1d44f42ab6c2d91149067b6c.tar.gz systemtap-steved-bfbbb76e5d0294cc1d44f42ab6c2d91149067b6c.tar.xz systemtap-steved-bfbbb76e5d0294cc1d44f42ab6c2d91149067b6c.zip |
Fixed PR 11336 by using a wait queue to wait on procfs file availability.
* runtime/procfs-probes.c: Removed old kernel 2.6.16 code. Simplified
_spp_lock macros.
(_stp_proc_open_file): If file is busy, use a wait queue to wait on it
being available.
(_stp_proc_release_file): Decrease open count.
* tapset-procfs.cxx (emit_module_init): Updated procfs probe
initialization/shutdown routine names.
(emit_module_exit): Ditto.
Diffstat (limited to 'doc/tutorial/inode-watch.stp')
0 files changed, 0 insertions, 0 deletions