Phil,

On Thu, Jan 11, 2007 at 12:02:39PM +0100, Philip J. Mucci wrote:
> 
> In debugging some64 bit issues on the MIPS, I've noticed that reg_addr
> is unsigned long. On 64 bit systems with 32 bit API's, this can cause a
> truncation. I have PMC registers in 64 bit space, but when compiled with
> a 32 bit API cannot fit in this field. I might suggest we extend to
> unsigned long long.
> 
The reg_addr is for information only. It is not used to communicate
with the kernel API. But it could be used to match against the PMU
description entries in /sys/kernel/perfmon/pmu_desc/pm*/addr which in
your case would be 64-bit.

I will make the change.

Thanks.

-- 
-Stephane
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to