Home
last modified time | relevance | path

Searched refs:tnfctl_errcode_t (Results 1 – 24 of 24) sorted by relevance

/titanic_41/usr/src/lib/libtnfctl/
H A Dtnfctl.h134 } tnfctl_errcode_t; typedef
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_close(tnfctl_handle_t *, tnfctl_targ_op_t);
[all …]
H A Dtnfctl_int.h195 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_tracefile(tnfctl_handle_t *hndl,
[all …]
H A Dkernel_int.h41 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_flush(tnfctl_handle_t *, prbctlref_t *);
[all …]
H A Dprobes_ext.c52 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; in tnfctl_register_funcs()
93 tnfctl_errcode_t
102 tnfctl_errcode_t
114 tnfctl_errcode_t
119 tnfctl_errcode_t prexstat; in tnfctl_probe_apply()
[all …]
H A Dsym.c65 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; in _tnfctl_sym_find_in_obj()
122 tnfctl_errcode_t
126 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; in _tnfctl_sym_find()
166 tnfctl_errcode_t
170 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; in _tnfctl_sym_obj_find()
220 tnfctl_errcode_t
[all …]
H A Dopen.c43 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; in tnfctl_exec_open()
130 tnfctl_errcode_t
137 tnfctl_errcode_t prexstat; in tnfctl_pid_open()
214 tnfctl_errcode_t
219 tnfctl_errcode_t prexstat; in tnfctl_indirect_open()
257 tnfctl_errcode_t
261 tnfctl_errcode_t prexstat; in tnfctl_kernel_open()
[all …]
H A Dkernel_int.c74 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; in _tnfctl_prbk_init()
110 tnfctl_errcode_t
151 tnfctl_errcode_t
155 tnfctl_errcode_t prexstat; in _tnfctl_prbk_buffer_alloc()
186 tnfctl_errcode_t
190 tnfctl_errcode_t prexstat; in _tnfctl_prbk_buffer_dealloc()
219 tnfctl_errcode_t
[all …]
H A Delf.c47 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; in _tnfctl_elf_dbgent()
150 static tnfctl_errcode_t
188 static tnfctl_errcode_t
193 tnfctl_errcode_t prexstat; in dynsec_num()
221 static tnfctl_errcode_t
H A Dkernel.c40 tnfctl_errcode_t
50 tnfctl_errcode_t
60 tnfctl_errcode_t
70 tnfctl_errcode_t
80 tnfctl_errcode_t
H A Dprobes.c79 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; in _tnfctl_find_all_probes()
315 tnfctl_errcode_t
[all …]
H A Dutil.c81 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; in _tnfctl_refresh_process()
136 tnfctl_errcode_t
139 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; in _tnfctl_set_state()
190 static tnfctl_errcode_t
236 tnfctl_errcode_t
[all …]
H A Dcontinue.c40 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; in tnfctl_continue()
167 static tnfctl_errcode_t
171 tnfctl_errcode_t prexstat; in _tnfctl_continue()
172 tnfctl_errcode_t ret_prexstat = TNFCTL_ERR_NONE; in _tnfctl_continue()
273 static tnfctl_errcode_t
316 static tnfctl_errcode_t
H A Dchecklib.c42 tnfctl_errcode_t
45 tnfctl_errcode_t prexstat; in tnfctl_check_libs()
82 tnfctl_errcode_t
141 tnfctl_errcode_t
144 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; in _tnfctl_sync_lib_list()
H A Dcomb.c103 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; in _tnfctl_comb_build()
161 tnfctl_errcode_t
165 tnfctl_errcode_t prexstat; in _tnfctl_comb_decode()
187 static tnfctl_errcode_t
[all …]
H A Dstatus.c49 tnfctl_strerror(tnfctl_errcode_t prexstat) in tnfctl_strerror()
109 tnfctl_errcode_t
112 tnfctl_errcode_t err = TNFCTL_ERR_INTERNAL; in _tnfctl_map_to_errcode()
138 tnfctl_errcode_t
141 tnfctl_errcode_t err = TNFCTL_ERR_INTERNAL; in tnfctl_status_map()
H A Dclose.c48 tnfctl_errcode_t
51 tnfctl_errcode_t prexstat; in tnfctl_close()
134 tnfctl_errcode_t
143 tnfctl_errcode_t
146 tnfctl_errcode_t prexstat; in _tnfctl_external_releaselock()
H A Dtraverse.c49 tnfctl_errcode_t
59 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; in _tnfctl_traverse_object()
140 tnfctl_errcode_t
227 tnfctl_errcode_t prexstat; in _tnfctl_traverse_rela()
274 tnfctl_errcode_t
286 tnfctl_errcode_t prexstat; in _tnfctl_traverse_dynsym()
H A Dinternal.c60 static tnfctl_errcode_t inprocess_get_dtdebug(void *hndl, uintptr_t *ret_val);
82 tnfctl_errcode_t
86 tnfctl_errcode_t prexstat; in tnfctl_internal_open()
175 static tnfctl_errcode_t
390 tnfctl_errcode_t
H A Dtargmem.c45 tnfctl_errcode_t
/titanic_41/usr/src/cmd/tnf/prex/
H A Dprbk.c56 tnfctl_errcode_t err; in check_kernelmode()
106 tnfctl_errcode_t err; in prbk_buffer_alloc()
147 tnfctl_errcode_t err; in prbk_buffer_dealloc()
213 tnfctl_errcode_t err; in prbk_pfilter_add()
240 tnfctl_errcode_t err; in prbk_pfilter_drop()
278 tnfctl_errcode_t err; in prbk_set_pfilter_mode()
297 tnfctl_errcode_t err; in prbk_show_pfilter_mode()
333 tnfctl_errcode_t err; in prbk_warn_pfilter_empty()
362 tnfctl_errcode_t err; in prbk_set_tracing()
H A Dmain.c117 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; in main()
345 static tnfctl_errcode_t
349 tnfctl_errcode_t err; in check_trace_error()
389 static tnfctl_errcode_t
396 tnfctl_errcode_t err = TNFCTL_ERR_NONE; in percmd()
[all …]
H A Dcmd.h75 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 Dlist.c86 static tnfctl_errcode_t listprobe(tnfctl_handle_t *hndl,
88 static tnfctl_errcode_t probescan(tnfctl_handle_t *hndl,
120 tnfctl_errcode_t err; in list_set()
145 tnfctl_errcode_t err; in list_expr()
165 tnfctl_errcode_t err; in list_values()
225 tnfctl_errcode_t err; in list_getattrs()
300 static tnfctl_errcode_t
509 static tnfctl_errcode_t
H A Dcmd.c199 tnfctl_errcode_t
203 tnfctl_errcode_t err = TNFCTL_ERR_NONE; in cmd_traverse()
235 tnfctl_errcode_t
238 tnfctl_errcode_t err = TNFCTL_ERR_NONE; in cmd_callback()