summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-12-22 21:53:39 -0500
committerFrank Ch. Eigler <fche@elastic.org>2009-12-22 21:53:39 -0500
commit93c8419165a7c651989cc344364b86695e1f142c (patch)
tree55b8315ccdc53d935bf5720018fd93cc11151198 /translate.cxx
parentc0e4090df6dee5f6f15143f0c3ff6bacfa653c2a (diff)
downloadsystemtap-steved-93c8419165a7c651989cc344364b86695e1f142c.tar.gz
systemtap-steved-93c8419165a7c651989cc344364b86695e1f142c.tar.xz
systemtap-steved-93c8419165a7c651989cc344364b86695e1f142c.zip
sdt.h semaphore: use get_user / put_user instead of __access_process_vm.
* translate.cxx (translate_pass): Don't #include <access_blah.> * tapsets.cxx, tapset-utrace.cxx: Replace __access_process_vm() calls with get_user() / put_user() respectively.
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/translate.cxx b/translate.cxx
index 81b8bef5..88e69a66 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -5238,7 +5238,6 @@ 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.