public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.6-311-g2ec6b38
@ 2011-10-13 21:25 dsmith
0 siblings, 0 replies; only message in thread
From: dsmith @ 2011-10-13 21:25 UTC (permalink / raw)
To: systemtap-cvs
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 2ec6b38c60450db5d94323284d53978ea9c2bf1f (commit)
from 720c435f4135efc9cef5d25cde1dd43cab88850d (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 2ec6b38c60450db5d94323284d53978ea9c2bf1f
Author: David Smith <dsmith@redhat.com>
Date: Thu Oct 13 16:24:43 2011 -0500
(More PR13289 fixes) Added better %m/%M error handling.
* runtime/print.c (_stp_unreserve_bytes): New function.
* runtime/print.h: Added _stp_unreserve_bytes() declaration.
* runtime/vsprintf.c (_stp_vsprint_memory): Only change the input pointer
to "<NULL>" when we're formatting a string (%s), not when we're
formatting raw memory (%m/%M). Also, return NULL on errors.
(_stp_vsprint_memory_size): Only change the input pointer to "<NULL>"
when we're formatting a string (%s), not when we're formatting raw
memory (%m/%M).
(_stp_vsnprintf): If _stp_vsprint_memory() returns NULL, unreserve bytes
in the print buffer, when necessary.
* translate.cxx (c_unparser::emit_compiled_printfs): If
_stp_vsprint_memory() returns NULL, unreserve bytes in the print buffer,
when necessary. Also improve error message if _stp_vsprint_memory()
fails by setting 'last_stmt'.
* testsuite/systemtap.stress/conversions.stp: Added tests for '%M' and for
using sprintf() with '%m' and '%M'.
* testsuite/systemtap.stress/conversions.exp: Updated error count.
-----------------------------------------------------------------------
Summary of changes:
runtime/print.c | 10 ++++++++++
runtime/print.h | 1 +
runtime/vsprintf.c | 25 +++++++++++++++----------
testsuite/systemtap.stress/conversions.exp | 2 +-
testsuite/systemtap.stress/conversions.stp | 3 +++
translate.cxx | 11 +++++++++--
6 files changed, 39 insertions(+), 13 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-13 21:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-13 21:25 [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.6-311-g2ec6b38 dsmith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).