[PATCH 2/2] new example: capture_ssl_master_secrets.stp

Timo Lindfors timo.lindfors@iki.fi
Wed Nov 1 08:39:00 GMT 2017


On Tue, 31 Oct 2017, Frank Ch. Eigler wrote:
> 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?

Interesting, I didn't know about that format specifier. Can I use it for 
accessing userland buffers? Could it be more optimal than user_char()? I 
mainly need this data for easy post processing in e.g. python, I don't 
really care about human-readability.

-Timo



More information about the Systemtap mailing list