On Friday 15 February 2008 05:34:26 am Daniel O'Connor wrote: > On Fri, 15 Feb 2008, Dag-Erling Smørgrav wrote: > > Kostik Belousov <kostikbel_at_gmail.com> writes: > > > The slightly contrived example below works on RELENG_7 amd64, > > > relevant output from the truss is > > > readlink("/usr/X11R6","l",1) = 1 (0x1) > > > on the CURRENT gives > > > readlink("/usr/X11R6","l",1) = -4294967295 > > > (0xffffffff00000001) [also please note wrong output for the third > > > readlink arg; ktrace/kdump works ok]. > > > > The only advantage truss has is the ability to decode structs > > (e.g. struct sockaddr in a connect() call). Apart from that, ktrace > > / kdump is superior in every respect. > > That's a pretty big advantage :) > > Also, ktrace can't write to a pipe which means you need to run/process > rather than 'stream'. kdump -l. -- John BaldwinReceived on Fri Feb 15 2008 - 13:57:39 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:27 UTC