Bug 86429 - OProfile driver gets incorrect app name
Summary: OProfile driver gets incorrect app name
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: kernel
Version: 1.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2003-03-21 20:35 UTC by William Cohen
Modified: 2007-04-18 16:52 UTC (History)
0 users

Fixed In Version: Taroon
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-07-07 21:11:30 UTC

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

Description William Cohen 2003-03-21 20:35:06 UTC
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):

How reproducible:

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
  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 20:36:37 UTC
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.