Re: truss

From: Anton Yuzhaninov <citrin_at_citrin.ru>
Date: Wed, 14 Sep 2011 06:17:45 +0000 (UTC)
On Fri, 09 Sep 2011 15:56:41 -0700, Xin LI wrote:
XL> -----BEGIN PGP SIGNED MESSAGE-----
XL> Hash: SHA256
XL> 
XL> On 08/31/11 07:35, Anton Yuzhaninov wrote:
>> It seems to be truss(1) is broken on current
>> 
>> :~> truss /bin/echo x x truss: can not get etype: No such process
>> 
>> FreeBSD 9.0-BETA1 #0 r224884M i386
>> 
>> from ktrace of turss
>> 
>> 3162 truss    CALL
>> __sysctl(0xbfbfea00,0x4,0xbfbfe9e0,0xbfbfea10,0,0) 3162 truss
>> SCTL  "kern.proc.sv_name.3163" 3162 truss    RET   __sysctl -1
>> errno 3 No such process
XL> 
XL> Can't seem to be reproducable here, did I missed anything?  (note that
XL> you may need a full world/kernel build).
XL> 

Problem still here after svn up and rebuild world/kernel

:~> ktrace -t+ truss /usr/bin/true
truss: can not get etype: No such process

Full ktrace:
http://dl.dropbox.com/u/8798217/tmp/truss_ktrace.txt

FreeBSD 9.0-BETA2 #1 r225504M
i386

Kernel config is not GENERIC - main difference - DTrace added:
http://dl.dropbox.com/u/8798217/tmp/kernconf.txt

-- 
 Anton Yuzhaninov
Received on Wed Sep 14 2011 - 04:18:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC