Deleted Added
full compact
hwpmc_mod.c (145313) hwpmc_mod.c (145338)
1/*-
2 * Copyright (c) 2003-2005 Joseph Koshy
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 */
27
28#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2003-2005 Joseph Koshy
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 */
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/dev/hwpmc/hwpmc_mod.c 145313 2005-04-20 04:43:30Z jkoshy $");
29__FBSDID("$FreeBSD: head/sys/dev/hwpmc/hwpmc_mod.c 145338 2005-04-20 20:26:39Z marcel $");
30
31#include <sys/param.h>
32#include <sys/eventhandler.h>
33#include <sys/jail.h>
34#include <sys/kernel.h>
35#include <sys/limits.h>
36#include <sys/lock.h>
37#include <sys/malloc.h>

--- 7 unchanged lines hidden (view full) ---

45#include <sys/signalvar.h>
46#include <sys/smp.h>
47#include <sys/sx.h>
48#include <sys/sysctl.h>
49#include <sys/sysent.h>
50#include <sys/systm.h>
51
52#include <machine/md_var.h>
30
31#include <sys/param.h>
32#include <sys/eventhandler.h>
33#include <sys/jail.h>
34#include <sys/kernel.h>
35#include <sys/limits.h>
36#include <sys/lock.h>
37#include <sys/malloc.h>

--- 7 unchanged lines hidden (view full) ---

45#include <sys/signalvar.h>
46#include <sys/smp.h>
47#include <sys/sx.h>
48#include <sys/sysctl.h>
49#include <sys/sysent.h>
50#include <sys/systm.h>
51
52#include <machine/md_var.h>
53#include <machine/pmc_mdep.h>
54#include <machine/specialreg.h>
55
56/*
57 * Types
58 */
59
60enum pmc_flags {
61 PMC_FLAG_NONE = 0x00, /* do nothing */
62 PMC_FLAG_REMOVE = 0x01, /* atomically remove entry from hash */

--- 3610 unchanged lines hidden ---
53
54/*
55 * Types
56 */
57
58enum pmc_flags {
59 PMC_FLAG_NONE = 0x00, /* do nothing */
60 PMC_FLAG_REMOVE = 0x01, /* atomically remove entry from hash */

--- 3610 unchanged lines hidden ---