Bug 439540

Summary: oprofile fix to support Penryn-based processors
Product: Red Hat Enterprise Linux 4 Reporter: Geoff Gustafson <grgustaf>
Component: kernelAssignee: John Villalovos <jvillalo>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: high Docs Contact:
Priority: high    
Version: 4.7CC: dhoward, dmair, jvillalo, keve.a.gabbert, peterm, tao, youquan.song
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2008-0665 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 19:28:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 313631, 439539    
Bug Blocks: 245608, 448357    
Attachments:
Description Flags
backport of patch to 4.7 none

Description Geoff Gustafson 2008-03-28 23:08:22 UTC
The Penryn-based CPUs have the same performance registers as older Core 2 chips,
but they have a new model number (23 instead of 15).

I suspect the same one-line patch from 5.2 is needed to oprofile code so
oprofile will treat them the same way.

I will test this out on Monday and post the patch.

Comment 1 Ronald Pacheco 2008-03-31 02:05:37 UTC
This request mirrors the request that was accepted for RHEL 5.2.

Comment 2 Ronald Pacheco 2008-03-31 17:59:32 UTC
Per Intel, this patch is necessaery to address a regression thart was
introducced with the patch that resolves BX 313631.

Comment 6 Geoff Gustafson 2008-04-15 20:57:25 UTC
Created attachment 302523 [details]
backport of patch to 4.7

Comment 7 Andrew Hecox 2008-04-16 16:37:11 UTC
*** Bug 442634 has been marked as a duplicate of this bug. ***

Comment 10 Vivek Goyal 2008-05-16 17:52:04 UTC
Committed in 70.EL. RPMS are available at http://people.redhat.com/vgoyal/

Comment 15 Song, Youquan 2008-06-02 09:38:55 UTC
The patch includes in 70.EL, but on bensley platform(Harpertown), oprofiled 
fail to start collect information.
[root@Bensley-RHEL47 initial]# opcontrol --start
No events given.
Using default event:
No events given.


Comment 17 errata-xmlrpc 2008-07-24 19:28:28 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2008-0665.html

Comment 20 Song, Youquan 2008-08-06 02:07:03 UTC
Adding CPU_CLK_UNHALTED:1000000:0:1:1 parameter in /root/.oprofile/daemonrc, we also can collect the performance data.