remove "XXX = <struct simplelock>" from -D output.
This commit is contained in:
parent
0013820b0f
commit
2c7ff2a52f
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: pmap.c,v 1.30 2005/12/29 14:53:47 tsutsui Exp $ */
|
/* $NetBSD: pmap.c,v 1.31 2006/06/24 12:34:51 yamt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
|
* Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
|
||||||
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
__RCSID("$NetBSD: pmap.c,v 1.30 2005/12/29 14:53:47 tsutsui Exp $");
|
__RCSID("$NetBSD: pmap.c,v 1.31 2006/06/24 12:34:51 yamt Exp $");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -152,10 +152,8 @@ PMAPFUNC(dump_vm_map,VERSION)(kvm_t *kd, struct kinfo_proc2 *proc,
|
|||||||
printf("%*s size = %lx,", indent(2), "",
|
printf("%*s size = %lx,", indent(2), "",
|
||||||
D(vm_map, vm_map)->size);
|
D(vm_map, vm_map)->size);
|
||||||
printf(" ref_count = %d,", D(vm_map, vm_map)->ref_count);
|
printf(" ref_count = %d,", D(vm_map, vm_map)->ref_count);
|
||||||
printf(" ref_lock = <struct simplelock>,\n");
|
|
||||||
printf("%*s hint = %p,", indent(2), "",
|
printf("%*s hint = %p,", indent(2), "",
|
||||||
D(vm_map, vm_map)->hint);
|
D(vm_map, vm_map)->hint);
|
||||||
printf(" hint_lock = <struct simplelock>,\n");
|
|
||||||
printf("%*s first_free = %p,", indent(2), "",
|
printf("%*s first_free = %p,", indent(2), "",
|
||||||
D(vm_map, vm_map)->first_free);
|
D(vm_map, vm_map)->first_free);
|
||||||
printf(" flags = %x <%s%s%s%s%s%s%s >,\n", D(vm_map, vm_map)->flags,
|
printf(" flags = %x <%s%s%s%s%s%s%s >,\n", D(vm_map, vm_map)->flags,
|
||||||
@ -172,8 +170,8 @@ PMAPFUNC(dump_vm_map,VERSION)(kvm_t *kd, struct kinfo_proc2 *proc,
|
|||||||
D(vm_map, vm_map)->flags & VM_MAP_TOPDOWN ? " TOPDOWN" :
|
D(vm_map, vm_map)->flags & VM_MAP_TOPDOWN ? " TOPDOWN" :
|
||||||
#endif
|
#endif
|
||||||
"");
|
"");
|
||||||
printf("%*s flags_lock = <struct simplelock>,", indent(2), "");
|
printf("%*s timestamp = %u }\n", indent(2), "",
|
||||||
printf(" timestamp = %u }\n", D(vm_map, vm_map)->timestamp);
|
D(vm_map, vm_map)->timestamp);
|
||||||
}
|
}
|
||||||
if (print_ddb) {
|
if (print_ddb) {
|
||||||
const char *name = mapname(P(vm_map));
|
const char *name = mapname(P(vm_map));
|
||||||
@ -576,7 +574,7 @@ PMAPFUNC(dump_amap,VERSION)(kvm_t *kd, struct kbit *amap)
|
|||||||
KDEREF(kd, amap);
|
KDEREF(kd, amap);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("%*s amap %p = { am_l = <struct simplelock>, am_ref = %d, "
|
printf("%*s amap %p = { am_ref = %d, "
|
||||||
"am_flags = %x,\n"
|
"am_flags = %x,\n"
|
||||||
"%*s am_maxslot = %d, am_nslot = %d, am_nused = %d, "
|
"%*s am_maxslot = %d, am_nslot = %d, am_nused = %d, "
|
||||||
"am_slots = %p,\n"
|
"am_slots = %p,\n"
|
||||||
@ -693,8 +691,9 @@ dump_vm_anon(kvm_t *kd, struct vm_anon **alist, int i)
|
|||||||
else
|
else
|
||||||
KDEREF(kd, anon);
|
KDEREF(kd, anon);
|
||||||
|
|
||||||
printf(" = { an_ref = %d, an_lock = <struct simplelock>, an_page = %p, an_swslot = %d }",
|
printf(" = { an_ref = %d, an_page = %p, an_swslot = %d }",
|
||||||
D(anon, anon)->an_ref, D(anon, anon)->an_page, D(anon, anon)->an_swslot);
|
D(anon, anon)->an_ref, D(anon, anon)->an_page,
|
||||||
|
D(anon, anon)->an_swslot);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user