This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.8-224-gfa69603
- From: dsmith at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 7 Sep 2012 19:57:49 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.8-224-gfa69603
- Reply-to: systemtap at sourceware dot org
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".
The branch, master has been updated
via fa696039448ed6a6f72c6ecac8e7e664820cbf6e (commit)
from 54bc339259541f65766d2c1aacf2f23e5b8d06f6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fa696039448ed6a6f72c6ecac8e7e664820cbf6e
Author: David Smith <dsmith@redhat.com>
Date: Fri Sep 7 14:57:18 2012 -0500
(PR14488 partial fix) Make memory reading more robust.
* runtime/dyninst/runtime.h (assert_is_myproc): New dummy macro.
(stp_dummy_init): Opens the /proc/self/mem file.
(stp_dummy_exit): Close the file.
* runtime/dyninst/linux_defs.h (user_mode): New dummy macro.
(__copy_from_user): Rewrote to read memory from /proc/self/mem, to be
able to catch errors.
* runtime/stp_string.h (__stp_get_user): Always use __get_user(), no
matter what arch we're on in dyninst mode.
* tapset/uconversions.stp: Moved from tapset/linux/uconversions.stp, since
the dyninst runtime can use the functions also.
-----------------------------------------------------------------------
Summary of changes:
runtime/dyninst/linux_defs.h | 41 ++++++++++++++++------------------
runtime/dyninst/runtime.h | 22 ++++++++++++++++++
runtime/stp_string.h | 8 ++++++
tapset/{linux => }/uconversions.stp | 0
4 files changed, 49 insertions(+), 22 deletions(-)
rename tapset/{linux => }/uconversions.stp (100%)
hooks/post-receive
--
systemtap: system-wide probe/trace tool