Changeset View
Changeset View
Standalone View
Standalone View
cddl/contrib/opensolaris/lib/libdtrace/common/dt_printf.h
| Show All 15 Lines | |||||
| * If applicable, add the following below this CDDL HEADER, with the | * If applicable, add the following below this CDDL HEADER, with the | ||||
| * fields enclosed by brackets "[]" replaced with your own identifying | * fields enclosed by brackets "[]" replaced with your own identifying | ||||
| * information: Portions Copyright [yyyy] [name of copyright owner] | * information: Portions Copyright [yyyy] [name of copyright owner] | ||||
| * | * | ||||
| * CDDL HEADER END | * CDDL HEADER END | ||||
| */ | */ | ||||
| /* | /* | ||||
| * Copyright 2005 Sun Microsystems, Inc. All rights reserved. | * Copyright 2005 Sun Microsystems, Inc. All rights reserved. | ||||
| * Copyright 2023 Domagoj Stolfa. All rights reserved. | |||||
| * Use is subject to license terms. | * Use is subject to license terms. | ||||
| */ | */ | ||||
| #ifndef _DT_PRINTF_H | #ifndef _DT_PRINTF_H | ||||
| #define _DT_PRINTF_H | #define _DT_PRINTF_H | ||||
| #pragma ident "%Z%%M% %I% %E% SMI" | #pragma ident "%Z%%M% %I% %E% SMI" | ||||
| ▲ Show 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | |||||
| extern void dt_printa_validate(struct dt_node *, struct dt_node *); | extern void dt_printa_validate(struct dt_node *, struct dt_node *); | ||||
| extern int dt_print_stack(dtrace_hdl_t *, FILE *, | extern int dt_print_stack(dtrace_hdl_t *, FILE *, | ||||
| const char *, caddr_t, int, int); | const char *, caddr_t, int, int); | ||||
| extern int dt_print_ustack(dtrace_hdl_t *, FILE *, | extern int dt_print_ustack(dtrace_hdl_t *, FILE *, | ||||
| const char *, caddr_t, uint64_t); | const char *, caddr_t, uint64_t); | ||||
| extern int dt_print_mod(dtrace_hdl_t *, FILE *, const char *, caddr_t); | extern int dt_print_mod(dtrace_hdl_t *, FILE *, const char *, caddr_t); | ||||
| extern int dt_print_umod(dtrace_hdl_t *, FILE *, const char *, caddr_t); | extern int dt_print_umod(dtrace_hdl_t *, FILE *, const char *, caddr_t); | ||||
| extern int dt_format_stack(dtrace_hdl_t *, caddr_t, int, int); | |||||
| extern int dt_format_ustack(dtrace_hdl_t *, caddr_t, uint64_t); | |||||
| extern int dt_format_mod(dtrace_hdl_t *, caddr_t); | |||||
| extern int dt_format_umod(dtrace_hdl_t *, caddr_t); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif /* _DT_PRINTF_H */ | #endif /* _DT_PRINTF_H */ | ||||