]> sourceware.org Git - systemtap.git/commit
kprobes.c: remove enabled_p from stap_dwarf_probe
authorJonathan Lebon <jlebon@redhat.com>
Wed, 16 Jul 2014 14:27:37 +0000 (10:27 -0400)
committerJonathan Lebon <jlebon@redhat.com>
Mon, 11 Aug 2014 19:40:01 +0000 (15:40 -0400)
commitbf86d80a82e86f000d544134d73b41daf9c2985e
tree659c56fb52b5f75a7e6120bc4135086a44a606c3
parent4bf3d59dd397071b0c9ce86de21396306bc3983b
kprobes.c: remove enabled_p from stap_dwarf_probe

Using the kernel function kprobe_disabled(), we can directly query
whether a kprobe is enabled or not. This makes the enabled_p field
redundant. We replace its use with a stapkp_enabled() function which
simply call kprobe_disabled().
runtime/linux/kprobes.c
This page took 0.024842 seconds and 5 git commands to generate.