From 3c5b8e2b99a772e3d19d6c4bf26b3a06037523a4 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Wed, 13 Jan 2010 22:26:10 -0500 Subject: Use __access_process_vm_noflush for static user semaphore decrement. * access_process_vm (__access_process_vm_noflush): New * tapsets.cxx (uprobe_derived_probe_group::emit_module_exit): Use it. * translate.cxx (translate_pass): Declare it. --- translate.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'translate.cxx') diff --git a/translate.cxx b/translate.cxx index 88e69a66..81b8bef5 100644 --- a/translate.cxx +++ b/translate.cxx @@ -5238,6 +5238,7 @@ translate_pass (systemtap_session& s) s.op->newline() << "#include "; // s.op->newline() << "#include "; s.op->newline() << "#include \"loc2c-runtime.h\" "; + s.op->newline() << "#include \"access_process_vm.h\" "; s.up->emit_common_header (); // context etc. -- cgit