]> sourceware.org Git - systemtap.git/commit
PR10589: switch to kernel vscnprintf for _stp_{dbug,warn,error} calls in runtime
authorFrank Ch. Eigler <fche@elastic.org>
Wed, 2 Sep 2009 16:01:27 +0000 (12:01 -0400)
committerFrank Ch. Eigler <fche@elastic.org>
Wed, 2 Sep 2009 16:01:27 +0000 (12:01 -0400)
commite66aaecc057ef417d0dd1d0b94454f6704147e7f
tree9eb27159000da1d759c4b12c9af4cb04ebc9abed
parentcce3b4efd1f1401246f1e1301040414db00891fa
PR10589: switch to kernel vscnprintf for _stp_{dbug,warn,error} calls in runtime

_stp_vscnprintf is only suitable for calls from the script, with slightly
different conventions (64-bit ints/pointers, extra formatting directives).

* runtime/runtime.h (_stp_{dbug,warn,error}): Add __attribute__ format(printf).
* runtime/io.c (_stp_vlog): Ditto.  Use vscnprintf().
* runtime/sym.c (_stp_module_check): Remove hexdumping (%.*M) of mismatching
  buildids.  Switch to _stp_warn from printk (KERN_WARNING).
* translate.cxx, runtime/unwind.c: Numerous print formatting tweaks.
runtime/io.c
runtime/runtime.h
runtime/sym.c
runtime/unwind.c
translate.cxx
This page took 0.027872 seconds and 5 git commands to generate.