diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-04-14 06:09:35 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-14 06:09:35 -0700 |
| commit | ec7708a234f332be15443b6fe953f55441b22814 (patch) | |
| tree | 66a306ec5f15cc30810d0e169cb45adbb8418131 /kernel | |
| parent | 4e09bf0b229f73da9aa521269d284777c5241fac (diff) | |
[PATCH] Fix oprofile on hyperthreaded P4's
From: Philippe Elie <phil.el@wanadoo.fr>
- oprofile is currently only profiling one sibling. Fix that with
appropriate register settings.
- fix an oops which could occur if the userspace driver were to request a
non-existent resource.
- in NMI handler counter_config[i].event is accessible from user space so
user can change the event during profiling by echo xxx >
/dev/oprofile/event
- event mask was wrong, the bit field is 6 bits length not 5, events
SSE_INPUT_ASSIST and X87_SIMD_MOVES_UOP was affected by masking high bit of
event number.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
