]> sourceware.org Git - systemtap.git/commit - tapsets.cxx
PR16861: reset kprobe struct and improve refresh
authorJonathan Lebon <jlebon@redhat.com>
Thu, 19 Jun 2014 20:41:17 +0000 (16:41 -0400)
committerJonathan Lebon <jlebon@redhat.com>
Mon, 11 Aug 2014 19:40:01 +0000 (15:40 -0400)
commit19d62b5b25cbb81ea62f47ac1c1ee481b5ac7081
tree116330648fc60cf4b3c63f51e0bd12a2e51bd026
parent8bffb5e657f613bf0fd1b2e0d2802f20111d766a
PR16861: reset kprobe struct and improve refresh

We need to ensure that the stap_dwarf_kprobe struct is completely
zero'ed out after each unregistration so as not to affect future
registrations which will use the same struct.

We also modify the signature of systemtap_module_refresh so that the
name of the module is passed. This allows us to only update the kprobes
related to that module, rather than checking all of them.

Finally, we also set the priority of the module notifier to 0 to
indicate we don't care in which order we are called (i.e. it shouldn't
matter whether we're called before or after the kprobes callback).
runtime/linux/kprobes.c
runtime/transport/symbols.c
runtime/transport/transport.c
tapsets.cxx
translate.cxx
This page took 0.025095 seconds and 5 git commands to generate.