Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2007 04:04:58 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 127913 for review
Message-ID:  <200710220404.l9M44wVE015439@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=127913

Change 127913 by jb@jb_freebsd1 on 2007/10/22 04:04:08

	Display the full path to the module too.

Affected files ...

.. //depot/projects/dtrace/src/sbin/kldstat/kldstat.c#4 edit
.. //depot/projects/dtrace6/src/sbin/kldstat/kldstat.c#2 edit

Differences ...

==== //depot/projects/dtrace/src/sbin/kldstat/kldstat.c#4 (text+ko) ====

@@ -60,9 +60,9 @@
     if (kldstat(fileid, &stat) < 0)
 	warn("can't stat file id %d", fileid);
     else
-	printf("%2d %4d %p %-8jx %s\n",
+	printf("%2d %4d %p %-8jx %s (%s)\n",
 	       stat.id, stat.refs, stat.address, (uintmax_t)stat.size, 
-	       stat.name);
+	       stat.name, stat.pathname);
 
     if (verbose) {
 	printf("\tContains modules:\n");

==== //depot/projects/dtrace6/src/sbin/kldstat/kldstat.c#2 (text+ko) ====

@@ -60,9 +60,9 @@
     if (kldstat(fileid, &stat) < 0)
 	warn("can't stat file id %d", fileid);
     else
-	printf("%2d %4d %p %-8jx %s\n",
+	printf("%2d %4d %p %-8jx %s (%s)\n",
 	       stat.id, stat.refs, stat.address, (uintmax_t)stat.size, 
-	       stat.name);
+	       stat.name, stat.pathname);
 
     if (verbose) {
 	printf("\tContains modules:\n");



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