Remove unused variables dtrace_in_probe and dtrace_in_probe_addr.

This commit is contained in:
Mark Johnston 2016-03-17 18:55:54 +00:00
parent 6203e46b84
commit 48cc2d5e22
7 changed files with 0 additions and 17 deletions

View File

@ -246,10 +246,6 @@ static int dtrace_dynvar_failclean; /* dynvars failed to clean */
#ifndef illumos
static struct mtx dtrace_unr_mtx;
MTX_SYSINIT(dtrace_unr_mtx, &dtrace_unr_mtx, "Unique resource identifier", MTX_DEF);
int dtrace_in_probe; /* non-zero if executing a probe */
#if defined(__i386__) || defined(__amd64__) || defined(__mips__) || defined(__powerpc__)
uintptr_t dtrace_in_probe_addr; /* Address of invop when already in probe */
#endif
static eventhandler_tag dtrace_kld_load_tag;
static eventhandler_tag dtrace_kld_unload_try_tag;
#endif

View File

@ -45,8 +45,6 @@ __FBSDID("$FreeBSD$");
#include <machine/trap.h>
#include <vm/pmap.h>
extern uintptr_t dtrace_in_probe_addr;
extern int dtrace_in_probe;
extern dtrace_id_t dtrace_probeid_error;
extern int (*dtrace_invop_jump_addr)(struct trapframe *);
extern void dtrace_getnanotime(struct timespec *tsp);

View File

@ -44,9 +44,6 @@
#include <machine/frame.h>
#include <vm/pmap.h>
extern uintptr_t dtrace_in_probe_addr;
extern int dtrace_in_probe;
extern void dtrace_getnanotime(struct timespec *tsp);
int dtrace_invop(uintptr_t, uintptr_t *, uintptr_t);

View File

@ -51,8 +51,6 @@ __FBSDID("$FreeBSD$");
#define BIT_LR 14
#define BIT_SP 13
extern uintptr_t dtrace_in_probe_addr;
extern int dtrace_in_probe;
extern dtrace_id_t dtrace_probeid_error;
extern int (*dtrace_invop_jump_addr)(struct trapframe *);
extern void dtrace_getnanotime(struct timespec *tsp);

View File

@ -46,8 +46,6 @@
#include <vm/pmap.h>
extern uintptr_t kernelbase;
extern uintptr_t dtrace_in_probe_addr;
extern int dtrace_in_probe;
extern void dtrace_getnanotime(struct timespec *tsp);

View File

@ -46,8 +46,6 @@ __FBSDID("$FreeBSD$");
#define DELAYBRANCH(x) ((int)(x) < 0)
extern uintptr_t dtrace_in_probe_addr;
extern int dtrace_in_probe;
extern dtrace_id_t dtrace_probeid_error;
int dtrace_invop(uintptr_t, uintptr_t *, uintptr_t);

View File

@ -46,8 +46,6 @@ __FBSDID("$FreeBSD$");
#define DELAYBRANCH(x) ((int)(x) < 0)
extern uintptr_t dtrace_in_probe_addr;
extern int dtrace_in_probe;
extern dtrace_id_t dtrace_probeid_error;
extern int (*dtrace_invop_jump_addr)(struct trapframe *);