From c84c5e00ac28c8e00a56019031d1eaec74428b54 Mon Sep 17 00:00:00 2001 From: Mitchell Horne Date: Mon, 18 Jul 2022 17:21:38 -0400 Subject: ddb: annotate some commands with DB_CMD_MEMSAFE This is not completely exhaustive, but covers a large majority of commands in the tree. Reviewed by: markj Sponsored by: Juniper Networks, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D35583 --- sys/kern/subr_turnstile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/subr_turnstile.c') diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c index d966a796c867..d976d0994668 100644 --- a/sys/kern/subr_turnstile.c +++ b/sys/kern/subr_turnstile.c @@ -1263,7 +1263,7 @@ DB_SHOW_ALL_COMMAND(chains, db_show_allchains) } } } -DB_SHOW_ALIAS(allchains, db_show_allchains) +DB_SHOW_ALIAS_FLAGS(allchains, db_show_allchains, DB_CMD_MEMSAFE) static void print_waiters(struct turnstile *ts, int indent); -- cgit v1.2.3