Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 84168

Summary: oprofile driver should accept hex values
Product: [Retired] Red Hat Linux Reporter: William Cohen <wcohen>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: low    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: /kernel-2.4.22-1.2115.nptl.src.rpm Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-01-21 21:06:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description William Cohen 2003-02-12 23:30:40 UTC
Description of problem:

Files in /dev/oprofile/ should be able to accept hex value, e.g. 0xf stated in
the oprofile documentation. 

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

kernel-2.4.20-2.41, oprofile-0.4-40

How reproducible:

On p4 machine

Steps to Reproduce:
1. opcontrol --setup --ctr3-event=INSTR_RETIRED --ctr3-count=240000
--ctr3-unit-mask=0xf --vmlinux=/boot/vmlinux-2.4.20-2.41smp
2. opcontrol --start
Actual results:

oprofiled: ctr3: 0x00: invalid unit mask for cpu P4 / Xeon
Couldn't start oprofiled.

Expected results:

oprofile starts without problem.

Additional info: