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):
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
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.
Created attachment 90689 [details]
patch to correct order of evaluation problem in oprofile driver