Changeset View
Changeset View
Standalone View
Standalone View
cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
| Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | |||||
| #undef _POSIX_PTHREAD_SEMANTICS | #undef _POSIX_PTHREAD_SEMANTICS | ||||
| #include <dt_impl.h> | #include <dt_impl.h> | ||||
| #include <dt_program.h> | #include <dt_program.h> | ||||
| #include <dt_module.h> | #include <dt_module.h> | ||||
| #include <dt_printf.h> | #include <dt_printf.h> | ||||
| #include <dt_string.h> | #include <dt_string.h> | ||||
| #include <dt_provider.h> | #include <dt_provider.h> | ||||
| #include <dt_oformat.h> | |||||
| #ifndef illumos | #ifndef illumos | ||||
| #include <sys/sysctl.h> | #include <sys/sysctl.h> | ||||
| #include <string.h> | #include <string.h> | ||||
| #endif | #endif | ||||
| #if defined(__i386__) | #if defined(__i386__) | ||||
| #include <ieeefp.h> | #include <ieeefp.h> | ||||
| #endif | #endif | ||||
| ▲ Show 20 Lines • Show All 1,661 Lines • ▼ Show 20 Lines | #ifdef __FreeBSD__ | ||||
| free(dtp->dt_objcopy_path); | free(dtp->dt_objcopy_path); | ||||
| #endif | #endif | ||||
| free(dtp->dt_mods); | free(dtp->dt_mods); | ||||
| #ifdef __FreeBSD__ | #ifdef __FreeBSD__ | ||||
| free(dtp->dt_kmods); | free(dtp->dt_kmods); | ||||
| #endif | #endif | ||||
| free(dtp->dt_provs); | free(dtp->dt_provs); | ||||
| xo_finish(); | |||||
| free(dtp); | free(dtp); | ||||
| } | } | ||||
| int | int | ||||
| dtrace_provider_modules(dtrace_hdl_t *dtp, const char **mods, int nmods) | dtrace_provider_modules(dtrace_hdl_t *dtp, const char **mods, int nmods) | ||||
| { | { | ||||
| dt_provmod_t *prov; | dt_provmod_t *prov; | ||||
| int i = 0; | int i = 0; | ||||
| Show All 14 Lines | |||||