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


Hi -

> >[...] 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? [...]

Certainly.  As listed in [man stap], printf("%#*.M", user_buffer, size)

- FChE


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