Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2004 23:28:00 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        Current <freebsd-current@FreeBSD.org>
Subject:   ktrace for linux binary
Message-ID:  <7m7jr2p5an.wl@black.imgsrc.co.jp>

next in thread | raw e-mail | index | archive | help

On my current box, ktrace(1)/kdump(1) shows FreeBSD sysctl number.
But I remember someone posted to this list with kdump output including
Linux sysctl number decoded.

Is there a magic for this?

-----
% ktrace ./linux-ls
% kdump
...
 20417 linux-ls CALL  mmap(0x3,0xbfbfd7e4,0x28069560)
 20417 linux-ls RET   mmap 0
 20417 linux-ls CALL  dup2(0xbfbfd6c4)
 20417 linux-ls RET   dup2 0x28070000
 20417 linux-ls CALL  old.recvfrom(0x2819c000,0x9628,0)
 20417 linux-ls RET   old.recvfrom 0
 20417 linux-ls CALL  dup2(0xbfbfd6c4)
 20417 linux-ls RET   dup2 0x2819c000
 20417 linux-ls CALL  dup2(0xbfbfd6c4)
 20417 linux-ls RET   dup2 0x281a2000
 20417 linux-ls CALL  close(0x3)
 20417 linux-ls RET   close 0
 20417 linux-ls CALL  #91(0x2806a000,0x1a02)
 20417 linux-ls RET   #91 0
...


-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7m7jr2p5an.wl>