Changeset View
Changeset View
Standalone View
Standalone View
sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap_impl.h
Show First 20 Lines • Show All 199 Lines • ▼ Show 20 Lines | |||||
extern void fasttrap_sigtrap(proc_t *, kthread_t *, uintptr_t); | extern void fasttrap_sigtrap(proc_t *, kthread_t *, uintptr_t); | ||||
#ifndef illumos | #ifndef illumos | ||||
extern fasttrap_scrspace_t *fasttrap_scraddr(struct thread *, | extern fasttrap_scrspace_t *fasttrap_scraddr(struct thread *, | ||||
fasttrap_proc_t *); | fasttrap_proc_t *); | ||||
#endif | #endif | ||||
extern dtrace_id_t fasttrap_probe_id; | extern dtrace_id_t fasttrap_probe_id; | ||||
extern fasttrap_hash_t fasttrap_tpoints; | extern fasttrap_hash_t fasttrap_tpoints; | ||||
extern uint64_t fasttrap_tp_gen; | |||||
#ifndef illumos | #ifndef illumos | ||||
extern struct rmlock fasttrap_tp_lock; | extern struct rmlock fasttrap_tp_lock; | ||||
#endif | #endif | ||||
#define FASTTRAP_TPOINTS_INDEX(pid, pc) \ | #define FASTTRAP_TPOINTS_INDEX(pid, pc) \ | ||||
(((pc) / sizeof (fasttrap_instr_t) + (pid)) & fasttrap_tpoints.fth_mask) | (((pc) / sizeof (fasttrap_instr_t) + (pid)) & fasttrap_tpoints.fth_mask) | ||||
Show All 20 Lines |