From dcd8f32ecb2a7e3838c0275ec972c66eeb100911 Mon Sep 17 00:00:00 2001 From: John Levon Date: Mon, 10 Feb 2003 20:25:24 -0800 Subject: [PATCH] oprofile: Pentium IV support The below patch implements a P4 driver for OProfile, mostly written by Graydon Hoare. --- include/linux/oprofile.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/oprofile.h b/include/linux/oprofile.h index 8e7422a320ed..c8202efc7a1a 100644 --- a/include/linux/oprofile.h +++ b/include/linux/oprofile.h @@ -21,12 +21,22 @@ struct super_block; struct dentry; struct file_operations; +/* This is duplicated from user-space so + * must be kept in sync :( + */ enum oprofile_cpu { OPROFILE_CPU_PPRO, OPROFILE_CPU_PII, OPROFILE_CPU_PIII, OPROFILE_CPU_ATHLON, - OPROFILE_CPU_TIMER + OPROFILE_CPU_TIMER, + OPROFILE_UNUSED1, /* 2.4's RTC mode */ + OPROFILE_CPU_P4, + OPROFILE_CPU_IA64, + OPROFILE_CPU_IA64_1, + OPROFILE_CPU_IA64_2, + OPROFILE_CPU_HAMMER, + OPROFILE_CPU_P4_HT2 }; /* Operations structure to be filled in */ -- cgit v1.2.3