summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/common/modules/genunix/genunix.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2022-07-07 11:51:11 -0400
committerGarrett D'Amore <garrett@damore.org>2022-07-13 10:28:07 -0400
commit9b664393d4fdda96221e6ea9ea95790d3c15be70 (patch)
tree7222ee176e18a86b8b699526779e8f1f164194df /usr/src/cmd/mdb/common/modules/genunix/genunix.c
parent6c489a5260bcb010bd6a712e312b0aa29cd591b8 (diff)
downloadillumos-joyent-9b664393d4fdda96221e6ea9ea95790d3c15be70.tar.gz
11328 Remove M_MULTIDATA support
Reviewed by: Dan McDonald <danmcd@mnx.io> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr/src/cmd/mdb/common/modules/genunix/genunix.c')
-rw-r--r--usr/src/cmd/mdb/common/modules/genunix/genunix.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/usr/src/cmd/mdb/common/modules/genunix/genunix.c b/usr/src/cmd/mdb/common/modules/genunix/genunix.c
index 32273e11a9..4a48514d81 100644
--- a/usr/src/cmd/mdb/common/modules/genunix/genunix.c
+++ b/usr/src/cmd/mdb/common/modules/genunix/genunix.c
@@ -23,6 +23,7 @@
* Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2019 Joyent, Inc.
* Copyright (c) 2013 by Delphix. All rights reserved.
+ * Copyright 2022 Garrett D'Amore
*/
#include <mdb/mdb_param.h>
@@ -90,7 +91,6 @@
#include "log.h"
#include "mdi.h"
#include "memory.h"
-#include "mmd.h"
#include "modhash.h"
#include "ndievents.h"
#include "net.h"
@@ -4365,19 +4365,6 @@ static const mdb_dcmd_t dcmds[] = {
{ "swapinfo", "?", "display a struct swapinfo", swapinfof },
{ "vnode2smap", ":[offset]", "translate vnode to smap", vnode2smap },
- /* from mmd.c */
- { "multidata", ":[-sv]", "display a summarized multidata_t",
- multidata },
- { "pattbl", ":", "display a summarized multidata attribute table",
- pattbl },
- { "pattr2multidata", ":", "print multidata pointer from pattr_t",
- pattr2multidata },
- { "pdesc2slab", ":", "print pdesc slab pointer from pdesc_t",
- pdesc2slab },
- { "pdesc_verify", ":", "verify integrity of a pdesc_t", pdesc_verify },
- { "slab2multidata", ":", "print multidata pointer from pdesc_slab_t",
- slab2multidata },
-
/* from modhash.c */
{ "modhash", "?[-ceht] [-k key] [-v val] [-i index]",
"display information about one or all mod_hash structures",
@@ -4772,14 +4759,6 @@ static const mdb_walker_t walkers[] = {
{ "swapinfo", "walk swapinfo structures",
swap_walk_init, swap_walk_step, NULL },
- /* from mmd.c */
- { "pattr", "walk pattr_t structures", pattr_walk_init,
- mmdq_walk_step, mmdq_walk_fini },
- { "pdesc", "walk pdesc_t structures",
- pdesc_walk_init, mmdq_walk_step, mmdq_walk_fini },
- { "pdesc_slab", "walk pdesc_slab_t structures",
- pdesc_slab_walk_init, mmdq_walk_step, mmdq_walk_fini },
-
/* from modhash.c */
{ "modhash", "walk list of mod_hash structures", modhash_walk_init,
modhash_walk_step, NULL },