From fb2f18f820d90b001aea4fb27dd654bc1263c440 Mon Sep 17 00:00:00 2001 From: esaxe Date: Wed, 17 Jan 2007 18:01:29 -0800 Subject: 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 --- usr/src/cmd/mdb/common/modules/genunix/genunix.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'usr/src/cmd/mdb/common/modules/genunix/genunix.c') 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 }, -- cgit v1.2.3