Move HWPMC_HOOKS into its own opt_hwpmc_hooks.h file. It doesn't merit
being in opt_global.h and forcing a global recompile when only a few files reference it. Approved by: re
This commit is contained in:
parent
06a137780b
commit
4da0d332f4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147565
@ -34,6 +34,8 @@
|
|||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__FBSDID("$FreeBSD$");
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
|
#include "opt_hwpmc_hooks.h"
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
|
@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
|
|
||||||
#include "opt_clock.h"
|
#include "opt_clock.h"
|
||||||
#include "opt_cpu.h"
|
#include "opt_cpu.h"
|
||||||
|
#include "opt_hwpmc_hooks.h"
|
||||||
#include "opt_isa.h"
|
#include "opt_isa.h"
|
||||||
#include "opt_ktrace.h"
|
#include "opt_ktrace.h"
|
||||||
|
|
||||||
|
@ -707,4 +707,4 @@ NI4BISPPP opt_i4b.h
|
|||||||
LOOKUP_SHARED opt_vfs.h
|
LOOKUP_SHARED opt_vfs.h
|
||||||
|
|
||||||
# HWPMC options
|
# HWPMC options
|
||||||
HWPMC_HOOKS opt_global.h
|
HWPMC_HOOKS
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__FBSDID("$FreeBSD$");
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
|
#include "opt_hwpmc_hooks.h"
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
|
@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
|
|
||||||
#include "opt_clock.h"
|
#include "opt_clock.h"
|
||||||
#include "opt_cpu.h"
|
#include "opt_cpu.h"
|
||||||
|
#include "opt_hwpmc_hooks.h"
|
||||||
#include "opt_isa.h"
|
#include "opt_isa.h"
|
||||||
#include "opt_ktrace.h"
|
#include "opt_ktrace.h"
|
||||||
#include "opt_npx.h"
|
#include "opt_npx.h"
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__FBSDID("$FreeBSD$");
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
|
#include "opt_hwpmc_hooks.h"
|
||||||
#include "opt_ntp.h"
|
#include "opt_ntp.h"
|
||||||
#include "opt_watchdog.h"
|
#include "opt_watchdog.h"
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__FBSDID("$FreeBSD$");
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
|
#include "opt_hwpmc_hooks.h"
|
||||||
#include "opt_ktrace.h"
|
#include "opt_ktrace.h"
|
||||||
#include "opt_mac.h"
|
#include "opt_mac.h"
|
||||||
|
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__FBSDID("$FreeBSD$");
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
|
#include "opt_hwpmc_hooks.h"
|
||||||
|
|
||||||
#define kse td_sched
|
#define kse td_sched
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
@ -27,7 +27,8 @@
|
|||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__FBSDID("$FreeBSD$");
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
#include <opt_sched.h>
|
#include "opt_hwpmc_hooks.h"
|
||||||
|
#include "opt_sched.h"
|
||||||
|
|
||||||
#define kse td_sched
|
#define kse td_sched
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user