Print this page
OS-2366 ddi_periodic_add(9F) is entirely rubbish

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/common/modules/genunix/genunix.c
          +++ new/usr/src/cmd/mdb/common/modules/genunix/genunix.c
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  23   23   * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
  24      - * Copyright (c) 2012 Joyent, Inc. All rights reserved.
       24 + * Copyright (c) 2013 Joyent, Inc. All rights reserved.
  25   25   */
  26   26  
  27   27  #include <mdb/mdb_param.h>
  28   28  #include <mdb/mdb_modapi.h>
  29   29  #include <mdb/mdb_ks.h>
  30   30  #include <mdb/mdb_ctf.h>
  31   31  
  32   32  #include <sys/types.h>
  33   33  #include <sys/thread.h>
  34   34  #include <sys/session.h>
↓ open down ↓ 29 lines elided ↑ open up ↑
  64   64  #include "avl.h"
  65   65  #include "bio.h"
  66   66  #include "bitset.h"
  67   67  #include "combined.h"
  68   68  #include "contract.h"
  69   69  #include "cpupart_mdb.h"
  70   70  #include "cred.h"
  71   71  #include "ctxop.h"
  72   72  #include "cyclic.h"
  73   73  #include "damap.h"
       74 +#include "ddi_periodic.h"
  74   75  #include "devinfo.h"
  75   76  #include "findstack.h"
  76   77  #include "fm.h"
  77   78  #include "group.h"
  78   79  #include "irm.h"
  79   80  #include "kgrep.h"
  80   81  #include "kmem.h"
  81   82  #include "ldi.h"
  82   83  #include "leaky.h"
  83   84  #include "lgrp.h"
↓ open down ↓ 3791 lines elided ↑ open up ↑
3875 3876          /* from cyclic.c */
3876 3877          { "cyccover", NULL, "dump cyclic coverage information", cyccover },
3877 3878          { "cycid", "?", "dump a cyclic id", cycid },
3878 3879          { "cycinfo", "?", "dump cyc_cpu info", cycinfo },
3879 3880          { "cyclic", ":", "developer information", cyclic },
3880 3881          { "cyctrace", "?", "dump cyclic trace buffer", cyctrace },
3881 3882  
3882 3883          /* from damap.c */
3883 3884          { "damap", ":", "display a damap_t", damap, damap_help },
3884 3885  
     3886 +        /* from ddi_periodic.c */
     3887 +        { "ddi_periodic", "?[-v]", "dump ddi_periodic_impl_t info", dprinfo },
     3888 +
3885 3889          /* from devinfo.c */
3886 3890          { "devbindings", "?[-qs] [device-name | major-num]",
3887 3891              "print devinfo nodes bound to device-name or major-num",
3888 3892              devbindings, devinfo_help },
3889 3893          { "devinfo", ":[-qs]", "detailed devinfo of one node", devinfo,
3890 3894              devinfo_help },
3891 3895          { "devinfo_audit", ":[-v]", "devinfo configuration audit record",
3892 3896              devinfo_audit },
3893 3897          { "devinfo_audit_log", "?[-v]", "system wide devinfo configuration log",
3894 3898              devinfo_audit_log },
↓ open down ↓ 694 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX