summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/common/modules/genunix/genunix.c
diff options
context:
space:
mode:
authoresaxe <none@none>2007-01-17 18:01:29 -0800
committeresaxe <none@none>2007-01-17 18:01:29 -0800
commitfb2f18f820d90b001aea4fb27dd654bc1263c440 (patch)
tree4b88b69e1244f360a85d70294a4498ecf57ca283 /usr/src/cmd/mdb/common/modules/genunix/genunix.c
parent9a7670889e9c36ec355371e6b02f2d9084f040dc (diff)
downloadillumos-joyent-fb2f18f820d90b001aea4fb27dd654bc1263c440.tar.gz
6461311 multi-level CMT scheduling optimizations
6509639 cpu0 is not in the right chip_t if its chipid is not zero --HG-- rename : usr/src/uts/common/os/chip.c => deleted_files/usr/src/uts/common/os/chip.c rename : usr/src/uts/common/sys/chip.h => deleted_files/usr/src/uts/common/sys/chip.h
Diffstat (limited to 'usr/src/cmd/mdb/common/modules/genunix/genunix.c')
-rw-r--r--usr/src/cmd/mdb/common/modules/genunix/genunix.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/usr/src/cmd/mdb/common/modules/genunix/genunix.c b/usr/src/cmd/mdb/common/modules/genunix/genunix.c
index 9863d8a241..66acba369f 100644
--- a/usr/src/cmd/mdb/common/modules/genunix/genunix.c
+++ b/usr/src/cmd/mdb/common/modules/genunix/genunix.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -74,6 +74,8 @@
#include "devinfo.h"
#include "leaky.h"
#include "lgrp.h"
+#include "pg.h"
+#include "group.h"
#include "list.h"
#include "log.h"
#include "kgrep.h"
@@ -3422,6 +3424,12 @@ static const mdb_dcmd_t dcmds[] = {
{ NVLIST_DCMD_NAME, NVLIST_DCMD_USAGE, NVLIST_DCMD_DESCR,
print_nvlist },
+ /* from pg.c */
+ { "pg", "?[-q]", "display a pg", pg},
+ /* from group.c */
+ { "group", "?[-q]", "display a group", group},
+
+ /* from log.c */
/* from rctl.c */
{ "rctl_dict", "?", "print systemwide default rctl definitions",
rctl_dict },
@@ -3714,6 +3722,10 @@ static const mdb_walker_t walkers[] = {
{ "lgrp_rsrc_cpu", "walk lgroup CPU resources of given lgroup",
lgrp_rsrc_cpu_walk_init, lgrp_set_walk_step, NULL },
+ /* from group.c */
+ { "group", "walk all elements of a group",
+ group_walk_init, group_walk_step, NULL },
+
/* from list.c */
{ LIST_WALK_NAME, LIST_WALK_DESC,
list_walk_init, list_walk_step, list_walk_fini },