Announcing a new utility: 'trace'
Posted Nov 17, 2010 15:38 UTC (Wed) by
Yorick (subscriber, #19241)
Parent article:
Announcing a new utility: 'trace'
I often find myself staring at a line in a very long strace output, wondering where that file descriptor came from. It would be handy to have an option adding this as an annotation, like
read(17, "groo", 4) = 4 # 17 = /etc/frotz, O_RDONLY
write(9, "moo", 3) == 3 # 3 = tcp 192.88.15.36 port 1469
This could probably be done by postprocessing (s)trace output, but it would be handy to have it built in.
(
Log in to post comments)