Changeset View
Changeset View
Standalone View
Standalone View
head/sys/cddl/dev/fbt/fbt.c
Show First 20 Lines • Show All 134 Lines • ▼ Show 20 Lines | if (strcmp(name, "owner_mtx") == 0 || | ||||
strcmp(name, "owner_rw") == 0 || | strcmp(name, "owner_rw") == 0 || | ||||
strcmp(name, "owner_sx") == 0) | strcmp(name, "owner_sx") == 0) | ||||
return (1); | return (1); | ||||
/* | /* | ||||
* Stack unwinders may be called from probe context on some | * Stack unwinders may be called from probe context on some | ||||
* platforms. | * platforms. | ||||
*/ | */ | ||||
#if defined(__riscv) | #if defined(__aarch64__) || defined(__riscv) | ||||
if (strcmp(name, "unwind_frame") == 0) | if (strcmp(name, "unwind_frame") == 0) | ||||
return (1); | return (1); | ||||
#endif | #endif | ||||
/* | /* | ||||
* When DTrace is built into the kernel we need to exclude | * When DTrace is built into the kernel we need to exclude | ||||
* the FBT functions from instrumentation. | * the FBT functions from instrumentation. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 1,056 Lines • Show Last 20 Lines |