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 - oprofile driver should accept hex values
Summary: oprofile driver should accept hex values
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2003-02-12 23:30 UTC by William Cohen
Modified: 2005-10-31 22:00 UTC (History)
0 users

Fixed In Version: /kernel-2.4.22-1.2115.nptl.src.rpm
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2004-01-21 21:06:10 UTC

Attachments (Terms of Use)

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:

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