Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2008 13:23:20 +0900
From:      "Adrian Chadd" <adrian@freebsd.org>
To:        "Joseph Koshy" <jkoshy@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: issues with hwpmc and athlon XP
Message-ID:  <d763ac660803162123w7903e38aw2f2974605de90ff9@mail.gmail.com>
In-Reply-To: <867ig2pr5j.wl%koshy@unixconsulting.co.in>
References:  <d763ac660803090946x11f2c6ddhc14af63305698e61@mail.gmail.com> <867ig2pr5j.wl%koshy@unixconsulting.co.in>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17/03/2008, Joseph Koshy <jkoshy@freebsd.org> wrote:


>  It so happens that the Athlon XP machine I purchased had one of those
>  BIOSes that do not enable the local APIC.  So I couldn't get those
>  PMCs to deliver an interrupt and wasn't able to test sampling on this
>  processor.  That was frustrating, especially since Linux 2.4 and later
>  can override the BIOS and use the LAPIC; we can't.

Hm, why can they but we can't?

>  Onto debugging this bug: my first question is: does system sampling
>  (i.e.. pmcstat -S) work OK on this CPU?

It returned results. I don't know how valid the results were. In fact,
I'm still not getting user-space info from pmcstat -P but that
partially may be user error. I'm seeing NMI's which are logged against
a user trapframe but nothing shows up in my profiling output.. it
could be attributing it to the library/libraries instead of the
process.





Adrian

-- 
Adrian Chadd - adrian@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d763ac660803162123w7903e38aw2f2974605de90ff9>