Expose symbol `PMC_FN_USER_CALLCHAIN' to assembler code.
This commit is contained in:
parent
3e21de6755
commit
e2774cc573
@ -36,6 +36,7 @@
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_compat.h"
|
||||
#include "opt_hwpmc_hooks.h"
|
||||
#include "opt_kstack_pages.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -44,6 +45,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/bio.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/proc.h>
|
||||
#ifdef HWPMC_HOOKS
|
||||
#include <sys/pmckern.h>
|
||||
#endif
|
||||
#include <sys/errno.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/mutex.h>
|
||||
@ -216,3 +220,7 @@ ASSYM(KUC32SEL, GSEL(GUCODE32_SEL, SEL_UPL));
|
||||
ASSYM(SEL_RPL_MASK, SEL_RPL_MASK);
|
||||
|
||||
ASSYM(MSR_GSBASE, MSR_GSBASE);
|
||||
|
||||
#ifdef HWPMC_HOOKS
|
||||
ASSYM(PMC_FN_USER_CALLCHAIN, PMC_FN_USER_CALLCHAIN);
|
||||
#endif
|
||||
|
@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_apic.h"
|
||||
#include "opt_compat.h"
|
||||
#include "opt_hwpmc_hooks.h"
|
||||
#include "opt_kstack_pages.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -44,6 +45,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/assym.h>
|
||||
#include <sys/bio.h>
|
||||
#include <sys/buf.h>
|
||||
#ifdef HWPMC_HOOKS
|
||||
#include <sys/pmckern.h>
|
||||
#endif
|
||||
#include <sys/proc.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/mount.h>
|
||||
@ -234,3 +238,7 @@ ASSYM(BUS_SPACE_HANDLE_IAT, offsetof(struct bus_space_handle, bsh_iat));
|
||||
ASSYM(PC_CR3, offsetof(struct pcpu, pc_cr3));
|
||||
ASSYM(HYPERVISOR_VIRT_START, __HYPERVISOR_VIRT_START);
|
||||
#endif
|
||||
|
||||
#ifdef HWPMC_HOOKS
|
||||
ASSYM(PMC_FN_USER_CALLCHAIN, PMC_FN_USER_CALLCHAIN);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user