summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/perfmon.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-11-11 18:00:33 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2008-11-11 18:00:33 +1100
commit6bfea1858872c1e57d94d686e3144bfa10ca48cb (patch)
treecfe7ad66c1f9a14f9d419c3ebf3100264b0044d4 /arch/x86/include/asm/perfmon.h
parentbc6435afdc6a1e0c5236a4a031f372bc1c62341d (diff)
parent4872c7055867a9b583c76cd7744030dd515a5f35 (diff)
Merge commit 'perfmon3/master'
Diffstat (limited to 'arch/x86/include/asm/perfmon.h')
-rw-r--r--arch/x86/include/asm/perfmon.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/x86/include/asm/perfmon.h b/arch/x86/include/asm/perfmon.h
new file mode 100644
index 000000000000..906f4b24cf0c
--- /dev/null
+++ b/arch/x86/include/asm/perfmon.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) 2007 Hewlett-Packard Development Company, L.P.
+ * Contributed by Stephane Eranian <eranian@hpl.hp.com>
+ *
+ * This file contains i386/x86_64 specific definitions for the perfmon
+ * interface.
+ *
+ * This file MUST never be included directly. Use linux/perfmon.h.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ * 02111-1307 USA
+ */
+#ifndef _ASM_X86_PERFMON__H_
+#define _ASM_X86_PERFMON__H_
+
+/*
+ * arch-specific user visible interface definitions
+ */
+
+#define PFM_ARCH_MAX_PMCS (256+64) /* 256 HW 64 SW */
+#define PFM_ARCH_MAX_PMDS (256+64) /* 256 HW 64 SW */
+
+#endif /* _ASM_X86_PERFMON_H_ */