version 1.89.2.1, 2006/11/18 21:39:16 |
version 1.89.2.2, 2007/02/05 13:00:56 |
Line 48 __KERNEL_RCSID(0, "$NetBSD$"); |
|
Line 48 __KERNEL_RCSID(0, "$NetBSD$"); |
|
#include <sys/pool.h> |
#include <sys/pool.h> |
#include <sys/proc.h> |
#include <sys/proc.h> |
#include <sys/vnode.h> |
#include <sys/vnode.h> |
|
#include <sys/lockdebug.h> |
|
#include <sys/sleepq.h> |
|
|
#include <machine/db_machdep.h> /* type definitions */ |
#include <machine/db_machdep.h> /* type definitions */ |
|
|
Line 121 static void db_stack_trace_cmd(db_expr_t |
|
Line 123 static void db_stack_trace_cmd(db_expr_t |
|
static void db_sync_cmd(db_expr_t, int, db_expr_t, const char *); |
static void db_sync_cmd(db_expr_t, int, db_expr_t, const char *); |
static void db_uvmexp_print_cmd(db_expr_t, int, db_expr_t, const char *); |
static void db_uvmexp_print_cmd(db_expr_t, int, db_expr_t, const char *); |
static void db_vnode_print_cmd(db_expr_t, int, db_expr_t, const char *); |
static void db_vnode_print_cmd(db_expr_t, int, db_expr_t, const char *); |
|
static void db_lock_print_cmd(db_expr_t, int, db_expr_t, const char *); |
static void db_mount_print_cmd(db_expr_t, int, db_expr_t, const char *); |
static void db_mount_print_cmd(db_expr_t, int, db_expr_t, const char *); |
static void db_mbuf_print_cmd(db_expr_t, int, db_expr_t, const char *); |
static void db_mbuf_print_cmd(db_expr_t, int, db_expr_t, const char *); |
|
|
Line 144 static const struct db_command db_show_c |
|
Line 147 static const struct db_command db_show_c |
|
{ "breaks", db_listbreak_cmd, 0, NULL }, |
{ "breaks", db_listbreak_cmd, 0, NULL }, |
{ "buf", db_buf_print_cmd, 0, NULL }, |
{ "buf", db_buf_print_cmd, 0, NULL }, |
{ "event", db_event_print_cmd, 0, NULL }, |
{ "event", db_event_print_cmd, 0, NULL }, |
|
{ "lock", db_lock_print_cmd, 0, NULL }, |
{ "malloc", db_malloc_print_cmd, 0, NULL }, |
{ "malloc", db_malloc_print_cmd, 0, NULL }, |
{ "map", db_map_print_cmd, 0, NULL }, |
{ "map", db_map_print_cmd, 0, NULL }, |
{ "mount", db_mount_print_cmd, 0, NULL }, |
{ "mount", db_mount_print_cmd, 0, NULL }, |
Line 680 db_uvmexp_print_cmd(db_expr_t addr, int |
|
Line 684 db_uvmexp_print_cmd(db_expr_t addr, int |
|
uvmexp_print(db_printf); |
uvmexp_print(db_printf); |
} |
} |
|
|
|
/*ARGSUSED*/ |
|
static void |
|
db_lock_print_cmd(db_expr_t addr, int have_addr, |
|
db_expr_t count, const char *modif) |
|
{ |
|
|
|
lockdebug_lock_print((void *)addr, db_printf); |
|
} |
|
|
/* |
/* |
* Call random function: |
* Call random function: |
* !expr(arg,arg,arg) |
* !expr(arg,arg,arg) |