Changeset View
Changeset View
Standalone View
Standalone View
head/sys/cddl/dev/fbt/mips/fbt_isa.c
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | fbt_patch_tracepoint(fbt_probe_t *fbt, fbt_patchval_t val) | ||||
mips_icache_sync_range((vm_offset_t)fbt->fbtp_patchpoint, 4); | mips_icache_sync_range((vm_offset_t)fbt->fbtp_patchpoint, 4); | ||||
} | } | ||||
int | int | ||||
fbt_provide_module_function(linker_file_t lf, int symindx, | fbt_provide_module_function(linker_file_t lf, int symindx, | ||||
linker_symval_t *symval, void *opaque) | linker_symval_t *symval, void *opaque) | ||||
{ | { | ||||
fbt_probe_t *fbt, *retfbt; | fbt_probe_t *fbt, *retfbt; | ||||
uint32_t *target, *start; | |||||
uint32_t *instr, *limit; | uint32_t *instr, *limit; | ||||
const char *name; | const char *name; | ||||
char *modname; | char *modname; | ||||
modname = opaque; | modname = opaque; | ||||
name = symval->name; | name = symval->name; | ||||
/* Check if function is excluded from instrumentation */ | /* Check if function is excluded from instrumentation */ | ||||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |