Remove a couple of unused fields from the FBT probe struct.
This commit is contained in:
parent
fc39220abe
commit
dcbb0d9c3f
@ -58,7 +58,6 @@ fbt_invop(uintptr_t addr, uintptr_t *stack, uintptr_t rval)
|
||||
|
||||
for (; fbt != NULL; fbt = fbt->fbtp_hashnext) {
|
||||
if ((uintptr_t)fbt->fbtp_patchpoint == addr) {
|
||||
fbt->fbtp_invop_cnt++;
|
||||
cpu->cpu_dtrace_caller = addr;
|
||||
|
||||
dtrace_probe(fbt->fbtp_id, frame->tf_x[0],
|
||||
|
@ -56,7 +56,6 @@ fbt_invop(uintptr_t addr, uintptr_t *stack, uintptr_t rval)
|
||||
|
||||
for (; fbt != NULL; fbt = fbt->fbtp_hashnext) {
|
||||
if ((uintptr_t)fbt->fbtp_patchpoint == addr) {
|
||||
fbt->fbtp_invop_cnt++;
|
||||
cpu->cpu_dtrace_caller = addr;
|
||||
|
||||
/* TODO: Need 5th parameter from stack */
|
||||
|
@ -45,8 +45,6 @@ typedef struct fbt_probe {
|
||||
const char *fbtp_name;
|
||||
modctl_t *fbtp_ctl;
|
||||
int fbtp_loadcnt;
|
||||
int fbtp_primary;
|
||||
int fbtp_invop_cnt;
|
||||
int fbtp_symindx;
|
||||
struct fbt_probe *fbtp_next;
|
||||
} fbt_probe_t;
|
||||
|
@ -60,7 +60,6 @@ fbt_invop(uintptr_t addr, uintptr_t *stack, uintptr_t rval)
|
||||
|
||||
for (; fbt != NULL; fbt = fbt->fbtp_hashnext) {
|
||||
if ((uintptr_t)fbt->fbtp_patchpoint == addr) {
|
||||
fbt->fbtp_invop_cnt++;
|
||||
if (fbt->fbtp_roffset == 0) {
|
||||
cpu->cpu_dtrace_caller = addr;
|
||||
|
||||
|
@ -66,7 +66,6 @@ fbt_invop(uintptr_t addr, uintptr_t *stack, uintptr_t rval)
|
||||
|
||||
for (; fbt != NULL; fbt = fbt->fbtp_hashnext) {
|
||||
if ((uintptr_t)fbt->fbtp_patchpoint == addr) {
|
||||
fbt->fbtp_invop_cnt++;
|
||||
if (fbt->fbtp_roffset == 0) {
|
||||
int i = 0;
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user