diff options
author | marcel <marcel@FreeBSD.org> | 2005-04-20 20:30:59 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2005-04-20 20:30:59 +0000 |
commit | dd5b3be596de3dc8fd4563818e40e186501034a1 (patch) | |
tree | e036ad78cb1597a030195ba07cb40af243eef789 /lib/libpmc/libpmc.c | |
parent | eda3bd9ab926f45f2c639054684125798ac8c4a0 (diff) | |
download | FreeBSD-src-dd5b3be596de3dc8fd4563818e40e186501034a1.zip FreeBSD-src-dd5b3be596de3dc8fd4563818e40e186501034a1.tar.gz |
Do not conditionally compile the contents of this file upon whether
HWPMC_HOOKS is defined. The pmc_cpu_is_*() functions in this file
are referenced unconditionally by hwpmc(4).
This is mostly a stop-gap. The pmc_cpu_is*() function should
probably be declared inline in <sys/pmc.h> or <sys/pmckern.h> and
the function pointers with corresponding SX lock should probably
be moved to another file and compiled conditionally upon HWPMC_HOOKS.
Ok'd by: jkoshy@
Diffstat (limited to 'lib/libpmc/libpmc.c')
0 files changed, 0 insertions, 0 deletions