ktrace for linux binary

From: Jun Kuriyama <kuriyama_at_imgsrc.co.jp>
Date: Fri, 10 Sep 2004 23:28:00 +0900
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_at_imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama_at_FreeBSD.org> // FreeBSD Project
Received on Fri Sep 10 2004 - 12:28:03 UTC

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