diff options
| author | John Levon <levon@movementarian.org> | 2003-02-10 20:25:24 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-02-10 20:25:24 -0800 |
| commit | dcd8f32ecb2a7e3838c0275ec972c66eeb100911 (patch) | |
| tree | 30b30744a1c6a7766d92542ad3dd8b2bfe506f8f /include/linux | |
| parent | bd83dce2241887915da737dc275d2e243ee2fa68 (diff) | |
[PATCH] oprofile: Pentium IV support
The below patch implements a P4 driver for OProfile, mostly written
by Graydon Hoare.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/oprofile.h | 12 |
1 files changed, 11 insertions, 1 deletions
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 */ |
