summaryrefslogtreecommitdiff
path: root/usr.sbin/procmap
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-02-13 21:17:14 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-02-13 21:17:14 +0000
commit218319db2636da084d3c02b2ab9c22099137eb55 (patch)
tree9143c9fc7878f69d3b66e2c08d005e9dd73b82ca /usr.sbin/procmap
parent6abc4112055a44631423679180ff5949daabff17 (diff)
remove tendrils of namei dumping code
Diffstat (limited to 'usr.sbin/procmap')
-rw-r--r--usr.sbin/procmap/procmap.16
-rw-r--r--usr.sbin/procmap/procmap.c5
2 files changed, 3 insertions, 8 deletions
diff --git a/usr.sbin/procmap/procmap.1 b/usr.sbin/procmap/procmap.1
index a4b3be004ee..b0c7b9951dd 100644
--- a/usr.sbin/procmap/procmap.1
+++ b/usr.sbin/procmap/procmap.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: procmap.1,v 1.16 2014/01/21 03:15:46 schwarze Exp $
+.\" $OpenBSD: procmap.1,v 1.17 2014/02/13 21:17:13 tedu Exp $
.\" $NetBSD: pmap.1,v 1.6 2003/01/19 21:25:43 atatat Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: February 13 2014 $
.Dt PROCMAP 1
.Os
.Sh NAME
@@ -90,8 +90,6 @@ dump the process's vm_map structure
dump the vm_map.header structure
.It Cm 8
dump each vm_map_entry in its entirety
-.It Cm 16
-dump the namei cache as it is traversed
.El
.It Fl d
Dumps the vm_map and vm_map_entry structures in a style similar to
diff --git a/usr.sbin/procmap/procmap.c b/usr.sbin/procmap/procmap.c
index c85998b9c78..4a22bbd630e 100644
--- a/usr.sbin/procmap/procmap.c
+++ b/usr.sbin/procmap/procmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procmap.c,v 1.51 2014/02/13 21:07:42 tedu Exp $ */
+/* $OpenBSD: procmap.c,v 1.52 2014/02/13 21:17:13 tedu Exp $ */
/* $NetBSD: pmap.c,v 1.1 2002/09/01 20:32:44 atatat Exp $ */
/*
@@ -38,7 +38,6 @@
#include <sys/vnode.h>
#include <sys/mount.h>
#include <sys/uio.h>
-#include <sys/namei.h>
#include <sys/sysctl.h>
#include <uvm/uvm.h>
@@ -76,7 +75,6 @@
#define PRINT_VM_MAP 0x00000002
#define PRINT_VM_MAP_HEADER 0x00000004
#define PRINT_VM_MAP_ENTRY 0x00000008
-#define DUMP_NAMEI_CACHE 0x00000010
struct cache_entry {
LIST_ENTRY(cache_entry) ce_next;
@@ -125,7 +123,6 @@ struct kbit {
struct vnode vnode;
struct uvm_object uvm_object;
struct mount mount;
- struct namecache namecache;
struct inode inode;
struct iso_node iso_node;
struct uvm_device uvm_device;