From owner-cvs-src@FreeBSD.ORG Mon Oct 22 04:13:08 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D783116A418; Mon, 22 Oct 2007 04:13:08 +0000 (UTC) (envelope-from jb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CAE3213C4A3; Mon, 22 Oct 2007 04:13:08 +0000 (UTC) (envelope-from jb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9M4D8FB016351; Mon, 22 Oct 2007 04:13:08 GMT (envelope-from jb@repoman.freebsd.org) Received: (from jb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9M4D8g3016327; Mon, 22 Oct 2007 04:13:08 GMT (envelope-from jb) Message-Id: <200710220413.l9M4D8g3016327@repoman.freebsd.org> From: John Birrell Date: Mon, 22 Oct 2007 04:12:58 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/sys kldstat.2 src/sbin/kldstat kldstat.c src/sys/kern kern_linker.c src/sys/sys linker.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 04:13:08 -0000 jb 2007-10-22 04:12:57 UTC FreeBSD src repository Modified files: lib/libc/sys kldstat.2 sbin/kldstat kldstat.c sys/kern kern_linker.c sys/sys linker.h Log: Add the full module path name to the kld_file_stat structure for kldstat(2). This allows libdtrace to determine the exact file from which a kernel module was loaded without having to guess. The kldstat(2) API is versioned with the size of the kld_file_stat structure, so this change creates version 2. Add the pathname to the verbose output of kldstat(8) too. MFC: 3 days Revision Changes Path 1.21 +5 -0 src/lib/libc/sys/kldstat.2 1.20 +2 -2 src/sbin/kldstat/kldstat.c 1.150 +38 -7 src/sys/kern/kern_linker.c 1.47 +26 -0 src/sys/sys/linker.h