From 42cb22bd8d3108863152cd2a26e787f508cfae6b Mon Sep 17 00:00:00 2001 From: hiramatu Date: Sat, 15 Mar 2008 00:02:00 +0000 Subject: 2008-03-14 Masami Hiramatsu 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. --- runtime/autoconf-unregister-kprobes.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 runtime/autoconf-unregister-kprobes.c (limited to 'runtime/autoconf-unregister-kprobes.c') 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 + +void * x = (void *)unregister_kprobes; +void * y = (void *)unregister_kretprobes; -- cgit