summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-09-02 12:01:27 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-09-02 12:01:27 -0400
commite66aaecc057ef417d0dd1d0b94454f6704147e7f (patch)
tree9eb27159000da1d759c4b12c9af4cb04ebc9abed /main.cxx
parentcce3b4efd1f1401246f1e1301040414db00891fa (diff)
downloadsystemtap-steved-e66aaecc057ef417d0dd1d0b94454f6704147e7f.tar.gz
systemtap-steved-e66aaecc057ef417d0dd1d0b94454f6704147e7f.tar.xz
systemtap-steved-e66aaecc057ef417d0dd1d0b94454f6704147e7f.zip
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.
Diffstat (limited to 'main.cxx')
0 files changed, 0 insertions, 0 deletions