Yes, I knew this wasn't used. But if for some reason, someone was on
this platform and wanted to mmap the registers, the addresses of these
are 64 bit quantities on the box I am on.

Phil

On Thu, 2007-01-11 at 02:21 -0800, Stephane Eranian wrote:
> 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.
> 

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

Reply via email to