]> sourceware.org Git - systemtap.git/commit
2006-09-18 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Mon, 18 Sep 2006 16:44:19 +0000 (16:44 +0000)
committerhunt <hunt>
Mon, 18 Sep 2006 16:44:19 +0000 (16:44 +0000)
commitddcd4a1d43f7b3bc6edb5c431d4fd29bc72fa471
treed67048aa0034d2a83100af4cbcfb5f0fe75acde0
parente92bf44b99785ad743d8657038e7c7b8fd05c5ba
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.
runtime/ChangeLog
runtime/print.c
runtime/runtime.h
runtime/string.c
This page took 0.026105 seconds and 5 git commands to generate.