summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2010-01-13 22:26:10 -0500
committerStan Cox <scox@redhat.com>2010-01-13 22:26:10 -0500
commit3c5b8e2b99a772e3d19d6c4bf26b3a06037523a4 (patch)
treee932e1891b79c1f2046803230ed34663ead3bb74 /translate.cxx
parent4732f8a465430d9c3775f83ec8d11028ebd3eddd (diff)
downloadsystemtap-steved-3c5b8e2b99a772e3d19d6c4bf26b3a06037523a4.tar.gz
systemtap-steved-3c5b8e2b99a772e3d19d6c4bf26b3a06037523a4.tar.xz
systemtap-steved-3c5b8e2b99a772e3d19d6c4bf26b3a06037523a4.zip
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.
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx1
1 files changed, 1 insertions, 0 deletions
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 <linux/version.h>";
// s.op->newline() << "#include <linux/compile.h>";
s.op->newline() << "#include \"loc2c-runtime.h\" ";
+ s.op->newline() << "#include \"access_process_vm.h\" ";
s.up->emit_common_header (); // context etc.