Print this page
11584 ::xcall would be useful
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/common/mdb/mdb_ctf.h
          +++ new/usr/src/cmd/mdb/common/mdb/mdb_ctf.h
↓ open down ↓ 16 lines elided ↑ open up ↑
  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   26   * Copyright (c) 2013, 2015 by Delphix. All rights reserved.
  27      - * Copyright (c) 2015, Joyent, Inc.
       27 + * Copyright 2018 Joyent, Inc.
  28   28   */
  29   29  
  30   30  #ifndef _MDB_CTF_H
  31   31  #define _MDB_CTF_H
  32   32  
  33   33  #include <mdb/mdb_target.h>
  34   34  #include <libctf.h>
  35   35  
  36   36  #ifdef _MDB
  37   37  #include <sys/machelf.h>
↓ open down ↓ 97 lines elided ↑ open up ↑
 135  135      ulong_t *, mdb_ctf_id_t *);
 136  136  extern int mdb_ctf_offsetof(mdb_ctf_id_t, const char *, ulong_t *);
 137  137  extern int mdb_ctf_num_members(mdb_ctf_id_t);
 138  138  extern int mdb_ctf_offsetof_by_name(const char *, const char *);
 139  139  extern ssize_t mdb_ctf_sizeof_by_name(const char *);
 140  140  
 141  141  extern ssize_t mdb_ctf_offset_to_name(mdb_ctf_id_t, ulong_t, char *, size_t,
 142  142      int, mdb_ctf_id_t *, ulong_t *);
 143  143  
 144  144  #define MDB_CTF_VREAD_QUIET             0x100
      145 +#define MDB_CTF_VREAD_IGNORE_ABSENT     0x200
 145  146  
 146  147  extern int mdb_ctf_vread(void *, const char *, const char *,
 147  148      uintptr_t, uint_t);
 148  149  extern int mdb_ctf_readsym(void *, const char *, const char *, uint_t);
 149  150  
 150  151  #ifdef _MDB
 151  152  
 152  153  extern ctf_file_t *mdb_ctf_open(const char *, int *);           /* Internal */
 153  154  extern ctf_file_t *mdb_ctf_bufopen(const void *, size_t,        /* Internal */
 154  155      const void *, Shdr *, const void *, Shdr *, int *);
↓ open down ↓ 14 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX