Hi Stephane,
Thanks for your reply.
I see how the ia32 was done now, but it appears that SPARC, SiCortext
and MIPS all have the same issue as POWER (I think I referred mostly to
the MIPS implementation when doing the "gen" POWER code).
At this point it might be a lot easier and safer just to
Corey,
On Wed, Aug 6, 2008 at 5:08 PM, Corey J Ashford <[EMAIL PROTECTED]> wrote:
> Hi Stephane,
>
> Thanks for your reply.
>
> The problem is that the (*p) data structure has not been initialized by the
> time the check is made in "if ((*p)->pmu_type == forced_pmu)". Because the
> structure has
Hi Stephane,
Thanks for your reply.
The problem is that the (*p) data structure has not been initialized by the
time the check is made in "if ((*p)->pmu_type == forced_pmu)". Because the
structure has not been initialized, it contains all zeros, and so (*p)->
pmu_type IS equal to forced_pmu (wh
On Wed, Aug 6, 2008 at 4:38 PM, Corey J Ashford <[EMAIL PROTECTED]> wrote:
> Just so you know, this is causing PAPI to not work with the latest kernel.
> Should PAPI treat the 2.81 kernel as compatible with 2.8 libpfm?
>
Yes, it is compatible.
I will update libpfm version number so that they won't
Just so you know, this is causing PAPI to not work with the latest kernel.
Should PAPI treat the 2.81 kernel as compatible with 2.8 libpfm?
Thanks,
- Corey
Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
503-578-3507
[EMAIL PROTECTED]
"stephane erania
Corey,
Let me explain the motivation behind this change. The idea is to allow
testing of the library without having to necessarily
run on a host with the specific PMU you want to test. For instance,
I'd like to be on Core 2 and test the AMD64 libpfm code.
To do that you have to bypass the PMU dete
Corey,
On Wed, Aug 6, 2008 at 11:54 AM, Corey Ashford <[EMAIL PROTECTED]> wrote:
> Hey folks,
>
> In trying to test PAPI-3.6.1/perfmon2 on POWER5, I ran into a problem with
> PFM_VERSION and /sys/kernel/perfmon/version
>
> The latest perfmon2 kernel is showing version 2.81 in
> /sys/kernel/perfmon
Hello Stephane,
Fairly recently, the following lines were added to pfm_initialize() in
pfm_common.c in libpfm:
...
while(*p) {
+ /*
+* check for forced_pmu
+* pmu_type can never be zero
+*/
+ if ((*p)->pmu_type == forced_pmu) {
+ __pfm_vbprintf("
Hey folks,
In trying to test PAPI-3.6.1/perfmon2 on POWER5, I ran into a problem
with PFM_VERSION and /sys/kernel/perfmon/version
The latest perfmon2 kernel is showing version 2.81 in
/sys/kernel/perfmon/version, but libpfm thinks the version is 2.8.
In libpfm, PFM_VERSION is encoded as 0x0002
thank you very much!
it works well now
2008-08-06
xudi
发件人: stephane eranian
发送时间: 2008-08-06 11:21:51
收件人: xudi
抄送:
主题: Re: Re: [perfmon2] (no subject)
On Tue, Aug 5, 2008 at 7:16 PM, xudi <[EMAIL PROTECTED] > wrote:
> hi,
> Is that mean when using PFM_FL_NOTIFY_BLOCK, the k
10 matches
Mail list logo