diff options
author | hiramatu <hiramatu> | 2008-03-15 00:02:00 +0000 |
---|---|---|
committer | hiramatu <hiramatu> | 2008-03-15 00:02:00 +0000 |
commit | 42cb22bd8d3108863152cd2a26e787f508cfae6b (patch) | |
tree | 1db48af17d84ba14243575060ad0e7a6fa7549b6 /runtime | |
parent | ecf194547a1efcc82a6f77862a25c9327f55d011 (diff) | |
download | systemtap-steved-42cb22bd8d3108863152cd2a26e787f508cfae6b.tar.gz systemtap-steved-42cb22bd8d3108863152cd2a26e787f508cfae6b.tar.xz systemtap-steved-42cb22bd8d3108863152cd2a26e787f508cfae6b.zip |
2008-03-14 Masami Hiramatsu <mhiramat@redhat.com>
PR 3542
* buildrun.cxx (compile_pass): Add an autoconf to check the kernel
supports batch unregistration.
* tapsets.cxx (dwarf_derived_probe_group::emit_module_decls): Add an
array of probe pointers for batch unregistration.
* tapsets.cxx (dwarf_derived_probe_group::emit_module_exit): Use
unregister_k(ret)probes if it is supported.
* runtime/autoconf-unregister-kprobes.c : New file.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/ChangeLog | 5 | ||||
-rw-r--r-- | runtime/autoconf-unregister-kprobes.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog index 054def68..92a6eb12 100644 --- a/runtime/ChangeLog +++ b/runtime/ChangeLog @@ -1,3 +1,8 @@ +2008-03-14 Masami Hiramatsu <mhiramat@redhat.com> + + PR 3542 + * autoconf-unregister-kprobes.c : New file. + 2008-03-10 Dave Brolley <brolley@redhat.com> PR5189 diff --git a/runtime/autoconf-unregister-kprobes.c b/runtime/autoconf-unregister-kprobes.c new file mode 100644 index 00000000..793891da --- /dev/null +++ b/runtime/autoconf-unregister-kprobes.c @@ -0,0 +1,4 @@ +#include <linux/kprobes.h> + +void * x = (void *)unregister_kprobes; +void * y = (void *)unregister_kretprobes; |