From owner-freebsd-current@FreeBSD.ORG Fri Sep 10 14:28:03 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E03516A4CE for ; Fri, 10 Sep 2004 14:28:03 +0000 (GMT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [210.226.20.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE65C43D48 for ; Fri, 10 Sep 2004 14:28:02 +0000 (GMT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by black.imgsrc.co.jp (Postfix) with ESMTP id 158C950BEE for ; Fri, 10 Sep 2004 23:28:02 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [IPv6:2001:218:422:2::9999]) by black.imgsrc.co.jp (Postfix) with ESMTP id 7F00B50B8F for ; Fri, 10 Sep 2004 23:28:00 +0900 (JST) Date: Fri, 10 Sep 2004 23:28:00 +0900 Message-ID: <7m7jr2p5an.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: Current User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd 0.1 Subject: ktrace for linux binary X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 14:28:03 -0000 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 // IMG SRC, Inc. // FreeBSD Project