Print this page
11626 introduce /etc/versions/build
11627 clean up UUID code for ::status

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/common/mdb/mdb_ks.h
          +++ new/usr/src/cmd/mdb/common/mdb/mdb_ks.h
↓ open down ↓ 15 lines elided ↑ open up ↑
  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 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  
       26 +/*
       27 + * Copyright 2019 Joyent, Inc.
       28 + */
       29 +
  26   30  #ifndef _MDB_KS_H
  27   31  #define _MDB_KS_H
  28   32  
  29   33  #include <sys/types.h>
  30   34  #include <sys/int_types.h>
  31   35  #include <sys/stream.h>
  32   36  #include <sys/vnode.h>
  33   37  #include <sys/proc.h>
  34   38  #include <sys/dumphdr.h>
  35   39  #include <sys/auxv.h>
↓ open down ↓ 97 lines elided ↑ open up ↑
 133  137  extern uintptr_t mdb_qwnext_default(const queue_t *);
 134  138  
 135  139  extern int mdb_mblk_count(const mblk_t *);
 136  140  
 137  141  /* DLPI primitive to string; returns NULL for unknown primitives */
 138  142  extern const char *mdb_dlpi_prim(int);
 139  143  
 140  144  /* Generic function for working with MAC (network layer 2) addresses. */
 141  145  extern void mdb_mac_addr(const uint8_t *, size_t, char *, size_t);
 142  146  
      147 +extern void mdb_print_buildversion(void);
      148 +
 143  149  /*
 144  150   * Target-specific interfaces
 145  151   *
 146  152   * The existence and accessibility of the functions listed below is relied upon
 147  153   * by the indicated targets.  The targets look up and invoke these functions in
 148  154   * mdb_ks so that dependencies on the current kernel implementation are
 149  155   * isolated in mdb_ks.
 150  156   */
 151  157  
 152  158  /*
↓ open down ↓ 33 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX