summaryrefslogtreecommitdiffstats
path: root/initscript/README.stap-server
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2010-02-03 11:56:58 -0600
committerDavid Smith <dsmith@redhat.com>2010-02-03 11:56:58 -0600
commit23b7dbfaf1e9860f77b6bf1aa3da8610bf31b03c (patch)
treee04422de3d0c79bd1a2a62d97419a0cd01b292f7 /initscript/README.stap-server
parent0d1ad607311857dc0b4666ce8a84c1a59c615ab9 (diff)
downloadsystemtap-steved-23b7dbfaf1e9860f77b6bf1aa3da8610bf31b03c.tar.gz
systemtap-steved-23b7dbfaf1e9860f77b6bf1aa3da8610bf31b03c.tar.xz
systemtap-steved-23b7dbfaf1e9860f77b6bf1aa3da8610bf31b03c.zip
Fixed PR 11078. Changed code to avoided procfs race condition.
* runtime/procfs.c: Allow STP_MAX_PROCFS_FILES define to be overridden. (_stp_create_procfs): Calls proc_create() instead of create_proc_entry() to avoid a race condition. * runtime/procfs-probes.c: New file containing procfs probe support routines. * tapset-procfs.cxx (procfs_derived_probe::join_group): Update struct _stp_procfs_data definition. (procfs_derived_probe::emit_module_decls): Include procfs-probes.c, which is where the definition of struct stap_procfs_probe exists. Update generated routines to read/write procfs data. (procfs_derived_probe_group::emit_module_init): Pass file_operations argument to _stp_create_procfs(). Initialize mutex. (procfs_var_expanding_visitor::visit_target_symbol): Update generated code.
Diffstat (limited to 'initscript/README.stap-server')
0 files changed, 0 insertions, 0 deletions