This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH 2/2] new example: capture_ssl_master_secrets.stp
timo.lindfors wrote:
> Hmm. That seems to call _stp_text_str which calls _stp_decode_utf8
> which is completely unnecessary for printing binary data?
I wouldn't read too much into the utf8 angle here. Those functions make
an effort to quote the buffer into readable text. If you want a
hexdump, there's printf("%*.M", buffer, size). Maybe we could have a
function that prints an old-school hex/ascii side-by-side dump?
- FChE