Searched refs:tnfctl_handle_t (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/libtnfctl/
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_
[all...]
H A Dtnfctl.h67 typedef struct tnfctl_handle tnfctl_handle_t; typedef in typeref:struct:tnfctl_handle
194 tnfctl_handle_t **); /* return value */
199 tnfctl_handle_t **); /* return value */
207 tnfctl_handle_t **); /* return value */
209 tnfctl_errcode_t tnfctl_internal_open(tnfctl_handle_t **);
211 tnfctl_errcode_t tnfctl_kernel_open(tnfctl_handle_t **);
217 tnfctl_handle_t *,
219 tnfctl_handle_t **); /* return value - if fork, handle on child */
224 tnfctl_errcode_t tnfctl_check_libs(tnfctl_handle_t *);
229 tnfctl_errcode_t tnfctl_close(tnfctl_handle_t *, tnfctl_targ_op_
[all...]
H A Dkernel.c41 tnfctl_trace_state_set(tnfctl_handle_t *hdl, boolean_t mode)
51 tnfctl_filter_state_set(tnfctl_handle_t *hdl, boolean_t mode)
61 tnfctl_filter_list_get(tnfctl_handle_t *hdl, pid_t **pid_list, int *pid_count)
71 tnfctl_filter_list_add(tnfctl_handle_t *hdl, pid_t pid)
81 tnfctl_filter_list_delete(tnfctl_handle_t *hdl, pid_t pid)
H A Dtnfctl_int.h162 void *(*create_func)(tnfctl_handle_t *, tnfctl_probe_t *);
226 (*_tnfctl_traverse_probe_func_t)(tnfctl_handle_t *, prbctlref_t *, void *);
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,
241 tnfctl_errcode_t _tnfctl_find_all_probes(tnfctl_handle_t *hndl);
242 tnfctl_errcode_t _tnfctl_probes_traverse(tnfctl_handle_t *hndl,
244 tnfctl_errcode_t _tnfctl_flush_a_probe(tnfctl_handle_t *hndl,
248 tnfctl_errcode_t _tnfctl_comb_build(tnfctl_handle_t *hnd
[all...]
H A Dchecklib.c43 tnfctl_check_libs(tnfctl_handle_t *hndl)
83 _tnfctl_lock_libs(tnfctl_handle_t *hndl, boolean_t *release_lock)
115 _tnfctl_unlock_libs(tnfctl_handle_t *hndl, boolean_t release_lock)
142 _tnfctl_sync_lib_list(tnfctl_handle_t *hndl)
H A Dopen.c44 static tnfctl_errcode_t step_to_end_of_exec(tnfctl_handle_t *hndl);
55 tnfctl_handle_t **ret_val)
57 tnfctl_handle_t *hdl;
131 tnfctl_pid_open(pid_t pid, tnfctl_handle_t **ret_val)
133 tnfctl_handle_t *hdl;
216 tnfctl_handle_t **ret_val)
218 tnfctl_handle_t *hdl;
258 tnfctl_kernel_open(tnfctl_handle_t **ret_val)
260 tnfctl_handle_t *hdl;
298 tnfctl_trace_attrs_get(tnfctl_handle_t *hd
[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 *);
60 tnfctl_register_funcs(tnfctl_handle_t *hndl,
61 void *(*create_func)(tnfctl_handle_t *, tnfctl_probe_t *),
94 _tnfctl_destructor_wrapper(tnfctl_handle_t *hndl, prbctlref_t *probe, void *cd)
103 _tnfctl_creator_wrapper(tnfctl_handle_t *hndl, prbctlref_t *probe, void *cd)
115 tnfctl_probe_apply(tnfctl_handle_t *hndl, tnfctl_probe_op_t func_p,
128 tnfctl_probe_apply_ids(tnfctl_handle_t *hnd
[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);
83 _tnfctl_prbk_init(tnfctl_handle_t *hdl)
111 _tnfctl_prbk_close(tnfctl_handle_t *hdl)
152 _tnfctl_prbk_buffer_alloc(tnfctl_handle_t *hdl, int size)
187 _tnfctl_prbk_buffer_dealloc(tnfctl_handle_t *hdl)
220 _tnfctl_prbk_set_tracing(tnfctl_handle_t *hdl, boolean_t onoff)
239 _tnfctl_prbk_set_pfilter_mode(tnfctl_handle_t *hdl, boolean_t onoff)
253 _tnfctl_prbk_get_pfilter_list(tnfctl_handle_t *hdl, pid_t **ret_list_p,
297 _tnfctl_prbk_pfilter_add(tnfctl_handle_t *hd
[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);
52 tnfctl_continue(tnfctl_handle_t *hndl, tnfctl_event_t *evt,
53 tnfctl_handle_t **child_hndl)
168 _tnfctl_continue(tnfctl_handle_t *hndl, tnfctl_event_t *evt, sigset_t *oldmask,
274 enable_target_state(tnfctl_handle_t *hndl, boolean_t watch_forks)
317 disable_target_state(tnfctl_handle_t *hndl)
H A Dprobes.c67 tnfctl_handle_t *la_hndl;
77 static objlist_t *loadobj_find(tnfctl_handle_t *,
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 *,
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 *);
95 _tnfctl_lmap_update(tnfctl_handle_t *hndl, boolean_t *lmap_ok,
175 _tnfctl_find_all_probes(tnfctl_handle_t *hndl)
270 _tnfctl_free_objs_and_probes(tnfctl_handle_t *hndl)
316 _tnfctl_probes_traverse(tnfctl_handle_t *hnd
[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);
93 _tnfctl_refresh_process(tnfctl_handle_t *hndl, boolean_t *lmap_ok,
137 _tnfctl_set_state(tnfctl_handle_t *hndl)
191 find_test_func(tnfctl_handle_t *hndl)
237 check_trace_error(tnfctl_handle_t *hndl)
285 find_target_syms(tnfctl_handle_t *hndl)
385 _tnfctl_create_tracefile(tnfctl_handle_t *hnd
[all...]
H A Dtargmem.c46 _tnfctl_targmem_alloc(tnfctl_handle_t *hndl, size_t size, uintptr_t *addr_p)
H A Dcomb.c103 static tnfctl_errcode_t decode(tnfctl_handle_t *hndl, uintptr_t addr,
105 static boolean_t find(tnfctl_handle_t *hndl, comb_op_t op, uintptr_t down,
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,
128 _tnfctl_comb_build(tnfctl_handle_t *hndl, comb_op_t op,
162 _tnfctl_comb_decode(tnfctl_handle_t *hndl, uintptr_t addr, char ***func_names,
188 decode(tnfctl_handle_t *hndl, uintptr_t addr, char ***func_names,
326 iscomb(tnfctl_handle_t *hnd
[all...]
H A Delf.c47 static tnfctl_errcode_t dynsec_num(tnfctl_handle_t *hndl, uintptr_t baseaddr,
77 _tnfctl_elf_dbgent(tnfctl_handle_t *hndl, uintptr_t * entaddr_p)
189 dynsec_num(tnfctl_handle_t *hndl, uintptr_t baseaddr,
H A Dclose.c49 tnfctl_close(tnfctl_handle_t *hdl, tnfctl_targ_op_t action)
144 _tnfctl_external_releaselock(tnfctl_handle_t *hdl)
H A Dsym.c123 _tnfctl_sym_find(tnfctl_handle_t *hndl, const char *symname, uintptr_t *symaddr)
167 _tnfctl_sym_obj_find(tnfctl_handle_t *hndl, const char *lib_base_name,
221 _tnfctl_sym_findname(tnfctl_handle_t *hndl, uintptr_t symaddr,
H A Dinternal.c83 tnfctl_internal_open(tnfctl_handle_t **ret_val)
85 tnfctl_handle_t *hdl;
/illumos-gate/usr/src/cmd/tnf/prex/
H A Dmain.c84 tnfctl_handle_t *g_hndl; /* handle on target or kernel */
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);
122 static void * perprobe(tnfctl_handle_t *hndl, tnfctl_probe_t *probe_p);
123 static tnfctl_errcode_t perprobe2(tnfctl_handle_t *hndl,
346 check_trace_error(tnfctl_handle_t *hndl)
386 tnfctl_handle_t *hndl;
394 tnfctl_handle_t *hndl = args_p->hndl;
452 perprobe(tnfctl_handle_t *hnd
[all...]
H A Dlist.c86 static tnfctl_errcode_t listprobe(tnfctl_handle_t *hndl,
88 static tnfctl_errcode_t probescan(tnfctl_handle_t *hndl,
109 extern tnfctl_handle_t *g_hndl;
301 probescan(tnfctl_handle_t *hndl, tnfctl_probe_t *ref_p, void *calldata_p)
510 listprobe(tnfctl_handle_t *hndl, tnfctl_probe_t *ref_p, void *calldata_p)
H A Dprexgram.y90 extern tnfctl_handle_t *g_hndl;
94 extern void process_cmd(tnfctl_handle_t *hndl, cmd_t *cmd);
H A Dprbk.c43 extern tnfctl_handle_t *g_hndl;

Completed in 61 milliseconds