Show full named struct values?

Felipe Gasper felipe at felipegasper.com
Wed Sep 13 15:25:06 UTC 2017


Hello,

	Right now the “-v” flag changes the output format away from the named parsed and toward a byte dump:


root at felipe64 10:23:07 ~/temp/strace-4.19
> ./strace perl -e1 2>&1 | grep ioctl | grep -v Inappropriate
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0


root at felipe64 10:23:10 ~/temp/strace-4.19
> ./strace -v perl -e1 2>&1 | grep ioctl | grep -v Inappropriate
ioctl(0, TCGETS, {c_iflags=0x500, c_oflags=0x5, c_cflags=0xbf, c_lflags=0xa3b, c_line=0, c_cc="\x03\x1c\x7f\x15\x04\x00\x01\x00\x11\x13\x1a\x00\x12\x0f\x17\x16\x00\x00\x00"}) = 0


	Is this change in output format intended? Is there any way to see the full structure parsed with names rather than raw bytes?

	Thank you!

-Felipe Gasper
Mississauga, Ontario





More information about the Strace-devel mailing list