]> granicus.if.org Git - strace/commit
Add custom (faster) vfprintf implementation (disabled by default)
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 16 Apr 2012 16:22:19 +0000 (18:22 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 16 Apr 2012 16:22:19 +0000 (18:22 +0200)
commit6e4f3c1fa41851cb72230432db4be8e0c2993c7d
tree8aa99484b91046c15007ed9ffc9f126d412c9908
parent61d62cf9481f100f76f1e8a2dfe131f638566633
Add custom (faster) vfprintf implementation (disabled by default)

* defs.h: Declare strace_vfprintf either as a alias to vfprintf
or as a bona fide function. USE_CUSTOM_PRINTF define controls whether
we use strace_vfprintf. By default, we don't.
* strace.c (tprintf): Call strace_vfprintf instead of vfprintf.
* vsprintf.c: New file, implements strace_vfprintf.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Makefile.am
defs.h
strace.c
vsprintf.c [new file with mode: 0644]