diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-12-22 21:53:39 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-12-22 21:53:39 -0500 |
commit | 93c8419165a7c651989cc344364b86695e1f142c (patch) | |
tree | 55b8315ccdc53d935bf5720018fd93cc11151198 /translate.cxx | |
parent | c0e4090df6dee5f6f15143f0c3ff6bacfa653c2a (diff) | |
download | systemtap-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.cxx | 1 |
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. |