Bug 123422 - on AMD64, the events shown are suitable for Athlon not Athlon64
Summary: on AMD64, the events shown are suitable for Athlon not Athlon64
Alias: None
Product: Fedora
Classification: Fedora
Component: oprofile
Version: 1
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: William Cohen
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2004-05-18 13:55 UTC by David Monniaux
Modified: 2007-11-30 22:10 UTC (History)
0 users

Clone Of:
Last Closed: 2004-05-20 12:57:42 UTC

Attachments (Terms of Use)

Description David Monniaux 2004-05-18 13:55:02 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.6)

Description of problem:
On Athlon64:
opcontrol --list-events lists the events for the Athlon processor but
not for the Athlon64.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.opcontrol --list-events

Actual Results:  The list of events for the Athlon.

Expected Results:  The list of events for the Athlon64 (as seen on the
oprofile web site:

Additional info:

Comment 1 William Cohen 2004-05-20 12:57:42 UTC
The events for the AMD64 are a pure superset of the Athlon events. One
can still get measurements even with the processor being misidentified
as a regular Athlon. However oprofile will not have access to the
AMD64 specific events such as the ones related to the hypertransport

This problem is due to the kernel misidenting the processor. I have
verified this problem has been fixed in the kernel in Rawhide (FC2-test3).

Comment 2 David Monniaux 2004-05-20 13:04:44 UTC
I'm interested in FPU-related events.

Where is the misidentification problem? If this helps, the kernel
correctly prints in /proc/cpuinfo:
model name      : AMD Athlon(tm) 64 Processor 3200+

Comment 3 William Cohen 2004-05-20 13:23:07 UTC
The oprofile kernel driver has its own cpu identification code; it is
separate from the /proc/cpuinfo. In the case of the x86_64 it is going
to be in arch/i386/oprofile/nmi_int.c of the kernel.

Comment 4 William Cohen 2004-05-20 13:24:41 UTC
The oprofile driver provide the cpu identification information in

Note You need to log in before you can comment on or make changes to this bug.