All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaswinder Singh Rajput <jaswinder@kernel.org>
To: Peter Zijlstra <peterz@infradead.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: Fri, 06 Mar 2009 00:26:33 +0530	[thread overview]
Message-ID: <1236279393.3316.13.camel@localhost.localdomain> (raw)
In-Reply-To: <1236278730.5187.378.camel@laptop>

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.

[root@hpdv5 new]# ./kerneltop -e 3 -c 100 -e 2

------------------------------------------------------------------------------
 KernelTop:       0 irqs/sec  kernel:nan% [NMI, cache-misses/cache-refs],  (all, 2 CPUs)
------------------------------------------------------------------------------

  weight     events         RIP          kernel function
  ______     ______   ________________   _______________


--
JSR


  reply	other threads:[~2009-03-05 18:57 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 [this message]
2009-03-05 19:07       ` Peter Zijlstra
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=1236279393.3316.13.camel@localhost.localdomain \
    --to=jaswinder@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=paulus@samba.org \
    --cc=peterz@infradead.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.