This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src/runtime print.c runtime.h string.c ChangeLog
- From: hunt at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 18 Sep 2006 16:44:19 -0000
- Subject: src/runtime print.c runtime.h string.c ChangeLog
CVSROOT: /cvs/systemtap
Module name: src
Changes by: hunt@sourceware.org 2006-09-18 16:44:19
Modified files:
runtime : print.c runtime.h string.c ChangeLog
Log message:
2006-09-18 Martin Hunt <hunt@redhat.com>
* print.c (_stp_print_flush): Rewrite so one version works for
relayfs or procfs. Use proper per-cpu functions.
(_stp_reserve_bytes): New function. Reserve bytes in the output buffer.
(_stp_print_binary): New function. Write a variable number of
64-bit values directly into the output buffer.
* string.c (_stp_sprintf): Rewrite using new per-cpu buffers.
(_stp_vsprintf): Ditto.
(_stp_string_cat_cstr): Ditto.
(_stp_string_cat_char): Ditto.
* runtime.h: Set defaults for MAXTRYLOCK and TRYLOCKDELAY to make
runtime tests in bench2 happy.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/print.c.diff?cvsroot=systemtap&r1=1.22&r2=1.23
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/runtime.h.diff?cvsroot=systemtap&r1=1.31&r2=1.32
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/string.c.diff?cvsroot=systemtap&r1=1.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/ChangeLog.diff?cvsroot=systemtap&r1=1.135&r2=1.136