Bug 86429 - OProfile driver gets incorrect app name
OProfile driver gets incorrect app name
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: kernel (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-21 15:35 EST by William Cohen
Modified: 2007-04-18 12:52 EDT (History)
0 users

See Also:
Fixed In Version: Taroon
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-07-07 17:11:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to correct order of evaluation problem in oprofile driver (479 bytes, patch)
2003-03-21 15:36 EST, William Cohen
no flags Details | Diff

  None (edit)
Description William Cohen 2003-03-21 15:35:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
There is a evaluation order problem in the test to determine the application
name from the mm. The patch requires addition of "()"s to a test to correct the
order of evaulation.  The patch based on  2.5.65 is attached.

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

How reproducible:
Always

Steps to Reproduce:
1. Use SMP kernel (this is on p4 machine)
2. opcontrol --setup --vmlinux=/boot/vmlinux-`uname -r`
--ctr0-event=GLOBAL_POWER_EVENTS --ctr0-unit-mask=1 --ctr0-count=1200000
--separate=library
  opcontrol --start
3. start x (XFree executable causes problems)
    

Actual Results:  There will be sample files in /var/lib/oprofile/samples with
"}dev}mem" in the name.  This indicates there are are samples for /dev/mem,
which is not correct. 

Expected Results:  No samples with "}dev}mem" in the name in
/var/lib/oprofile/samples. Samples should be for Xfree.

Additional info:
Comment 1 William Cohen 2003-03-21 15:36:37 EST
Created attachment 90689 [details]
patch to correct order of evaluation problem in oprofile driver

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