From: Peter Zijlstra <peterz@infradead.org>
To: Jaswinder Singh Rajput <jaswinder@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>, Paul Mackerras <paulus@samba.org>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] perfcounters: IRQ and NMI support on AMD CPUs
Date: Thu, 05 Mar 2009 20:07:56 +0100 [thread overview]
Message-ID: <1236280076.5187.403.camel@laptop> (raw)
In-Reply-To: <1236279393.3316.13.camel@localhost.localdomain>
On Fri, 2009-03-06 at 00:26 +0530, Jaswinder Singh Rajput wrote:
> On Thu, 2009-03-05 at 19:45 +0100, Peter Zijlstra wrote:
> > On Fri, 2009-03-06 at 00:02 +0530, Jaswinder Singh Rajput wrote:
> > >
> > > Any how with this patch on my 64 bit AMD box I am getting:
> > >
> > > [jaswinder@hpdv5 perfcounters]$ ./perfstat -e 0,1,2,3 ls > /dev/null
> > >
> > > Performance counter stats for 'ls':
> > >
> > > perfstat: perfstat.c:415: main: Assertion `res == sizeof(single_count)'
> > > failed.
> > > Aborted
> > > [jaswinder@hpdv5 perfcounters]$
> > >
> > > [root@hpdv5 perfcounters]# ./kerneltop
> > > KernelTop refresh period: 2 seconds
> > > kerneltop: kerneltop.c:883: main: Assertion `res == sizeof(ip)' failed.
> > > Aborted
> > > [root@hpdv5 perfcounters]#
> >
> > Ah, I think you will need a fresh copy of both utilities, Paul recently
> > changed the ABI.
> >
> > http://people.redhat.com/mingo/perfcounters/
> >
> > Contains the latest IIRC
> >
>
> With fresh copy, perfstat is working.
>
> But kerneltop is still not working and I am not getting any NMI Interrupts.
What does your dmegs look like?
Mine read like:
[ 0.012002] AMD Performance Monitoring support detected.
[ 0.013002] ... num counters: 4
[ 0.014001] ... value mask: 0000ffffffffffff
[ 0.015001] ... fixed counters: 0
[ 0.016001] ... counter mask: 000000000000000f
and its generating IRQs:
CNT: 168612 166040 Performance counter interrupts
next prev parent reply other threads:[~2009-03-05 19:08 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-05 17:20 [PATCH] perfcounters: IRQ and NMI support on AMD CPUs Peter Zijlstra
2009-03-05 17:25 ` Ingo Molnar
2009-03-05 17:27 ` [tip:perfcounters/core] " Peter Zijlstra
2009-03-12 1:44 ` Robert Richter
2009-03-12 9:12 ` Peter Zijlstra
2009-03-05 18:32 ` [PATCH] " Jaswinder Singh Rajput
2009-03-05 18:45 ` Peter Zijlstra
2009-03-05 18:56 ` Jaswinder Singh Rajput
2009-03-05 19:07 ` Peter Zijlstra [this message]
2009-03-05 19:37 ` Jaswinder Singh Rajput
2009-03-05 19:34 ` Peter Zijlstra
2009-03-05 19:41 ` Ingo Molnar
2009-03-05 20:01 ` Jaswinder Singh Rajput
2009-03-06 6:37 ` Mike Galbraith
2009-03-06 6:51 ` Mike Galbraith
2009-03-06 7:11 ` Mike Galbraith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1236280076.5187.403.camel@laptop \
--to=peterz@infradead.org \
--cc=jaswinder@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.