This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]