dtrace.h (237624) | dtrace.h (248457) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 2299 unchanged lines hidden (view full) --- 2308extern int dtrace_safe_defer_signal(void); 2309extern void dtrace_safe_synchronous_signal(void); 2310 2311extern int dtrace_mach_aframes(void); 2312 2313#if defined(__i386) || defined(__amd64) 2314extern int dtrace_instr_size(uchar_t *instr); 2315extern int dtrace_instr_size_isa(uchar_t *, model_t, int *); | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 2299 unchanged lines hidden (view full) --- 2308extern int dtrace_safe_defer_signal(void); 2309extern void dtrace_safe_synchronous_signal(void); 2310 2311extern int dtrace_mach_aframes(void); 2312 2313#if defined(__i386) || defined(__amd64) 2314extern int dtrace_instr_size(uchar_t *instr); 2315extern int dtrace_instr_size_isa(uchar_t *, model_t, int *); |
2316extern void dtrace_invop_add(int (*)(uintptr_t, uintptr_t *, uintptr_t)); 2317extern void dtrace_invop_remove(int (*)(uintptr_t, uintptr_t *, uintptr_t)); | |
2318extern void dtrace_invop_callsite(void); 2319#endif | 2316extern void dtrace_invop_callsite(void); 2317#endif |
2318extern void dtrace_invop_add(int (*)(uintptr_t, uintptr_t *, uintptr_t)); 2319extern void dtrace_invop_remove(int (*)(uintptr_t, uintptr_t *, uintptr_t)); |
|
2320 2321#ifdef __sparc 2322extern int dtrace_blksuword32(uintptr_t, uint32_t *, int); 2323extern void dtrace_getfsr(uint64_t *); 2324#endif 2325 2326#if !defined(sun) 2327extern void dtrace_helpers_duplicate(proc_t *, proc_t *); --- 16 unchanged lines hidden (view full) --- 2344#if defined(__i386) || defined(__amd64) 2345 2346#define DTRACE_INVOP_PUSHL_EBP 1 2347#define DTRACE_INVOP_POPL_EBP 2 2348#define DTRACE_INVOP_LEAVE 3 2349#define DTRACE_INVOP_NOP 4 2350#define DTRACE_INVOP_RET 5 2351 | 2320 2321#ifdef __sparc 2322extern int dtrace_blksuword32(uintptr_t, uint32_t *, int); 2323extern void dtrace_getfsr(uint64_t *); 2324#endif 2325 2326#if !defined(sun) 2327extern void dtrace_helpers_duplicate(proc_t *, proc_t *); --- 16 unchanged lines hidden (view full) --- 2344#if defined(__i386) || defined(__amd64) 2345 2346#define DTRACE_INVOP_PUSHL_EBP 1 2347#define DTRACE_INVOP_POPL_EBP 2 2348#define DTRACE_INVOP_LEAVE 3 2349#define DTRACE_INVOP_NOP 4 2350#define DTRACE_INVOP_RET 5 2351 |
2352#elif defined(__powerpc__) 2353 2354#define DTRACE_INVOP_RET 1 2355#define DTRACE_INVOP_BCTR 2 2356#define DTRACE_INVOP_BLR 3 2357#define DTRACE_INVOP_JUMP 4 2358#define DTRACE_INVOP_MFLR_R0 5 2359#define DTRACE_INVOP_NOP 6 2360 |
|
2352#endif 2353 2354#ifdef __cplusplus 2355} 2356#endif 2357 2358#endif /* _SYS_DTRACE_H */ | 2361#endif 2362 2363#ifdef __cplusplus 2364} 2365#endif 2366 2367#endif /* _SYS_DTRACE_H */ |