/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | kernel_int.h | 41 tnfctl_errcode_t _tnfctl_prbk_init(tnfctl_handle_t *); 42 tnfctl_errcode_t _tnfctl_prbk_close(tnfctl_handle_t *); 46 tnfctl_errcode_t _tnfctl_prbk_buffer_alloc(tnfctl_handle_t *, int); 47 tnfctl_errcode_t _tnfctl_prbk_buffer_dealloc(tnfctl_handle_t *); 48 tnfctl_errcode_t _tnfctl_prbk_set_tracing(tnfctl_handle_t *, boolean_t); 49 tnfctl_errcode_t _tnfctl_prbk_set_pfilter_mode(tnfctl_handle_t *, boolean_t); 50 tnfctl_errcode_t _tnfctl_prbk_get_pfilter_list(tnfctl_handle_t *, pid_t **, 52 tnfctl_errcode_t _tnfctl_prbk_pfilter_add(tnfctl_handle_t *, pid_t); 53 tnfctl_errcode_t _tnfctl_prbk_pfilter_delete(tnfctl_handle_t *, pid_t); 54 tnfctl_errcode_t _tnfctl_prbk_flus [all...] |
H A D | tnfctl.h | 134 } tnfctl_errcode_t; typedef in typeref:enum:__anon4123 187 const char *tnfctl_strerror(tnfctl_errcode_t); 192 tnfctl_errcode_t tnfctl_pid_open( 196 tnfctl_errcode_t tnfctl_indirect_open( 201 tnfctl_errcode_t tnfctl_exec_open( 209 tnfctl_errcode_t tnfctl_internal_open(tnfctl_handle_t **); 211 tnfctl_errcode_t tnfctl_kernel_open(tnfctl_handle_t **); 216 tnfctl_errcode_t tnfctl_continue( 224 tnfctl_errcode_t tnfctl_check_libs(tnfctl_handle_t *); 229 tnfctl_errcode_t tnfctl_clos [all...] |
H A D | kernel.c | 40 tnfctl_errcode_t 50 tnfctl_errcode_t 60 tnfctl_errcode_t 70 tnfctl_errcode_t 80 tnfctl_errcode_t
|
H A D | tnfctl_int.h | 195 typedef tnfctl_errcode_t 201 typedef tnfctl_errcode_t 213 tnfctl_errcode_t _tnfctl_traverse_object(int objfd, uintptr_t addr, 216 tnfctl_errcode_t _tnfctl_traverse_rela(Elf * elf, char *strs, Elf_Scn * rel_scn, 220 tnfctl_errcode_t _tnfctl_traverse_dynsym(Elf * elf, char *elfstrs, 225 typedef tnfctl_errcode_t 229 tnfctl_errcode_t _tnfctl_lmap_update(tnfctl_handle_t *hndl, boolean_t *lmap_ok, 233 tnfctl_errcode_t _tnfctl_refresh_process(tnfctl_handle_t *, boolean_t *, 236 tnfctl_errcode_t _tnfctl_set_state(tnfctl_handle_t *hndl); 237 tnfctl_errcode_t _tnfctl_create_tracefil [all...] |
H A D | checklib.c | 42 tnfctl_errcode_t 45 tnfctl_errcode_t prexstat; 82 tnfctl_errcode_t 141 tnfctl_errcode_t 144 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE;
|
H A D | probes_ext.c | 52 tnfctl_errcode_t _tnfctl_destructor_wrapper(tnfctl_handle_t *, 54 tnfctl_errcode_t _tnfctl_creator_wrapper(tnfctl_handle_t *, 56 static tnfctl_errcode_t apply_func(tnfctl_handle_t *, prbctlref_t *, void *); 57 static tnfctl_errcode_t check_operation(tnfctl_handle_t *, tnfctl_probe_t *); 59 tnfctl_errcode_t 64 tnfctl_errcode_t prexstat; 93 tnfctl_errcode_t 102 tnfctl_errcode_t 114 tnfctl_errcode_t 119 tnfctl_errcode_t prexsta [all...] |
H A D | open.c | 43 static tnfctl_errcode_t attach_pid(pid_t pid, prb_proc_ctl_t **proc_pp); 44 static tnfctl_errcode_t step_to_end_of_exec(tnfctl_handle_t *hndl); 51 tnfctl_errcode_t 61 tnfctl_errcode_t prexstat; 130 tnfctl_errcode_t 137 tnfctl_errcode_t prexstat; 214 tnfctl_errcode_t 219 tnfctl_errcode_t prexstat; 257 tnfctl_errcode_t 261 tnfctl_errcode_t prexsta [all...] |
H A D | status.c | 49 tnfctl_strerror(tnfctl_errcode_t prexstat) 107 * to a tnfctl_errcode_t 109 tnfctl_errcode_t 112 tnfctl_errcode_t err = TNFCTL_ERR_INTERNAL; 136 * tnfctl_errcode_t 138 tnfctl_errcode_t 141 tnfctl_errcode_t err = TNFCTL_ERR_INTERNAL;
|
H A D | sym.c | 65 static tnfctl_errcode_t sym_findname_in_obj(int objfd, uintptr_t baseaddr, 68 static tnfctl_errcode_t sym_match(char *name, uintptr_t addr, void *sym_entry, 71 static tnfctl_errcode_t sym_matchname(char *name, uintptr_t addr, 84 tnfctl_errcode_t 88 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; 122 tnfctl_errcode_t 126 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; 166 tnfctl_errcode_t 170 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; 220 tnfctl_errcode_t [all...] |
H A D | elf.c | 47 static tnfctl_errcode_t dynsec_num(tnfctl_handle_t *hndl, uintptr_t baseaddr, 49 static tnfctl_errcode_t elf_dynmatch(Elf *elf, char *strs, Elf_Scn *dyn_scn, 52 static tnfctl_errcode_t dyn_findtag( 76 tnfctl_errcode_t 79 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; 150 static tnfctl_errcode_t 188 static tnfctl_errcode_t 193 tnfctl_errcode_t prexstat; 221 static tnfctl_errcode_t
|
H A D | close.c | 48 tnfctl_errcode_t 51 tnfctl_errcode_t prexstat; 134 tnfctl_errcode_t 143 tnfctl_errcode_t 146 tnfctl_errcode_t prexstat;
|
H A D | kernel_int.c | 74 static tnfctl_errcode_t prbk_get_buf_attrs(tnfctl_handle_t *hdl); 75 static tnfctl_errcode_t alloc_probe_space(tnfctl_handle_t *hndl, int maxprobe); 82 tnfctl_errcode_t 85 tnfctl_errcode_t prexstat; 110 tnfctl_errcode_t 151 tnfctl_errcode_t 155 tnfctl_errcode_t prexstat; 186 tnfctl_errcode_t 190 tnfctl_errcode_t prexstat; 219 tnfctl_errcode_t [all...] |
H A D | continue.c | 40 static tnfctl_errcode_t _tnfctl_continue(tnfctl_handle_t *hndl, 42 static tnfctl_errcode_t enable_target_state(tnfctl_handle_t *hndl, 44 static tnfctl_errcode_t disable_target_state(tnfctl_handle_t *hndl); 51 tnfctl_errcode_t 55 tnfctl_errcode_t prexstat; 167 static tnfctl_errcode_t 171 tnfctl_errcode_t prexstat; 172 tnfctl_errcode_t ret_prexstat = TNFCTL_ERR_NONE; 273 static tnfctl_errcode_t 316 static tnfctl_errcode_t [all...] |
H A D | util.c | 81 static tnfctl_errcode_t find_test_func(tnfctl_handle_t *hndl); 82 static tnfctl_errcode_t find_target_syms(tnfctl_handle_t *hndl); 83 static tnfctl_errcode_t find_trace_file_info(tnfctl_handle_t *hndl); 84 static tnfctl_errcode_t check_trace_error(tnfctl_handle_t *hndl); 92 tnfctl_errcode_t 96 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; 136 tnfctl_errcode_t 139 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; 190 static tnfctl_errcode_t 236 tnfctl_errcode_t [all...] |
H A D | probes.c | 79 static tnfctl_errcode_t get_num_probes(tnfctl_handle_t *, objlist_t *, int *); 80 static tnfctl_errcode_t read_probes_in_obj(tnfctl_handle_t *, objlist_t *, 83 static tnfctl_errcode_t count_probes(char *, uintptr_t, void *, 85 static tnfctl_errcode_t read_a_probe(char *, uintptr_t, void *, 87 static tnfctl_errcode_t link_targ_obj_probes(tnfctl_handle_t *, objlist_t *); 88 static tnfctl_errcode_t unlink_targ_obj_probes(tnfctl_handle_t *, objlist_t *); 94 tnfctl_errcode_t 174 tnfctl_errcode_t 177 tnfctl_errcode_t prexstat; 315 tnfctl_errcode_t [all...] |
H A D | comb.c | 103 static tnfctl_errcode_t decode(tnfctl_handle_t *hndl, uintptr_t addr, 107 static tnfctl_errcode_t build(tnfctl_handle_t *hndl, comb_op_t op, 109 static tnfctl_errcode_t add(tnfctl_handle_t *hndl, comb_op_t op, uintptr_t down, 113 static tnfctl_errcode_t iscomb(tnfctl_handle_t *hndl, uintptr_t addr, 115 static tnfctl_errcode_t findname(tnfctl_handle_t *hndl, uintptr_t addr, 127 tnfctl_errcode_t 131 tnfctl_errcode_t prexstat; 161 tnfctl_errcode_t 165 tnfctl_errcode_t prexstat; 187 static tnfctl_errcode_t [all...] |
H A D | targmem.c | 45 tnfctl_errcode_t
|
H A D | traverse.c | 49 tnfctl_errcode_t 59 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; 140 tnfctl_errcode_t 227 tnfctl_errcode_t prexstat; 274 tnfctl_errcode_t 286 tnfctl_errcode_t prexstat;
|
H A D | internal.c | 60 static tnfctl_errcode_t inprocess_get_dtdebug(void *hndl, uintptr_t *ret_val); 82 tnfctl_errcode_t 86 tnfctl_errcode_t prexstat; 175 static tnfctl_errcode_t 390 tnfctl_errcode_t
|
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | cmd.h | 75 tnfctl_errcode_t (*cmd_traverse_func_t) ( 94 tnfctl_errcode_t cmd_traverse(cmd_traverse_func_t percmdfunc, void *calldata_p); 95 tnfctl_errcode_t cmd_callback(cmd_t *cmd, cmd_traverse_func_t percmdfunc,
|
H A D | prbk.c | 56 tnfctl_errcode_t err; 106 tnfctl_errcode_t err; 147 tnfctl_errcode_t err; 213 tnfctl_errcode_t err; 240 tnfctl_errcode_t err; 278 tnfctl_errcode_t err; 297 tnfctl_errcode_t err; 333 tnfctl_errcode_t err; 362 tnfctl_errcode_t err;
|
H A D | main.c | 117 static tnfctl_errcode_t check_trace_error(tnfctl_handle_t *hndl); 120 static tnfctl_errcode_t set_tracefile(tnfctl_handle_t *hndl); 121 static tnfctl_errcode_t set_probe_discovery_callback(tnfctl_handle_t *hndl); 123 static tnfctl_errcode_t perprobe2(tnfctl_handle_t *hndl, 125 static tnfctl_errcode_t percmd(expr_t *expr_p, cmd_kind_t kind, fcn_t *fcn_p, 169 tnfctl_errcode_t err = TNFCTL_ERR_NONE; 345 static tnfctl_errcode_t 349 tnfctl_errcode_t err; 389 static tnfctl_errcode_t 396 tnfctl_errcode_t er [all...] |
H A D | cmd.c | 199 tnfctl_errcode_t 203 tnfctl_errcode_t err = TNFCTL_ERR_NONE; 235 tnfctl_errcode_t 238 tnfctl_errcode_t err = TNFCTL_ERR_NONE;
|
H A D | list.c | 86 static tnfctl_errcode_t listprobe(tnfctl_handle_t *hndl, 88 static tnfctl_errcode_t probescan(tnfctl_handle_t *hndl, 120 tnfctl_errcode_t err; 145 tnfctl_errcode_t err; 165 tnfctl_errcode_t err; 225 tnfctl_errcode_t err; 300 static tnfctl_errcode_t 509 static tnfctl_errcode_t
|