Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
9060 ::dtrace_options causes mdb to dump core
Browse files Browse the repository at this point in the history
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
John Levon authored and rmustacc committed Jul 19, 2018
1 parent e010bda commit 9d0ac66
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions usr/src/cmd/mdb/common/modules/dtrace/dtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013 by Delphix. All rights reserved.
* Copyright (c) 2017, Joyent, Inc. All rights reserved.
* Copyright (c) 2018, Joyent, Inc. All rights reserved.
*/

/*
Expand Down Expand Up @@ -2517,9 +2517,16 @@ static struct dtrace_options {
{ "aggsortkey", dtrace_options_numtostr },
{ "aggsortrev", dtrace_options_numtostr },
{ "aggsortpos", dtrace_options_numtostr },
{ "aggsortkeypos", dtrace_options_numtostr }
{ "aggsortkeypos", dtrace_options_numtostr },
{ "temporal", dtrace_options_numtostr },
{ "agghist", dtrace_options_numtostr },
{ "aggpack", dtrace_options_numtostr },
{ "aggzoom", dtrace_options_numtostr },
{ "zone", dtrace_options_numtostr }
};

CTASSERT(ARRAY_SIZE(_dtrace_options) == DTRACEOPT_MAX);

static void
dtrace_options_help(void)
{
Expand Down

0 comments on commit 9d0ac66

Please sign in to comment.