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 3. Actual results: oprofiled: ctr3: 0x00: invalid unit mask for cpu P4 / Xeon Couldn't start oprofiled. Expected results: oprofile starts without problem. Additional info: