public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov@gmail.com>
To: Lin Ming <ming.m.lin@intel.com>
Cc: "Ingo Molnar" <mingo@elte.hu>,
	"Stephane Eranian" <eranian@google.com>,
	"Frédéric Weisbecker" <fweisbec@gmail.com>,
	"Arnaldo Carvalho de Melo" <acme@redhat.com>,
	LKML <linux-kernel@vger.kernel.org>,
	"Peter Zijlstra" <peterz@infradead.org>
Subject: Re: [RFC -tip]
Date: Tue, 17 Aug 2010 18:10:13 +0400	[thread overview]
Message-ID: <20100817141013.GA5879@lenovo> (raw)
In-Reply-To: <1282036441.11858.14.camel@minggr.sh.intel.com>

On Tue, Aug 17, 2010 at 05:14:01PM +0800, Lin Ming wrote:
> On Mon, 2010-08-16 at 19:02 +0800, Cyrill Gorcunov wrote:
> > Hi,
> > 
> > please review the approach, I can't test it due to lack
> > of hw (btw Ming, if you have some spare minutes -- mind to
> > pass some event as RAW and see how it goes?).
> 
> #raw event for cpu cycles
> perf top -e r3000020c0403c000
> 
> #raw event for cache-misses
> perf top -e r120e00030803e000
> 

Ming, I had something different in mind, I'll prepare the case
to be tested. Will notify you. Thanks!

> I tried some raw events and it works.
> 
> > Index: linux-2.6.git/arch/x86/include/asm/Kbuild
> > =====================================================================
> > --- linux-2.6.git.orig/arch/x86/include/asm/Kbuild
> > +++ linux-2.6.git/arch/x86/include/asm/Kbuild
> > @@ -24,3 +24,4 @@ unifdef-y += unistd_32.h
> >  unifdef-y += unistd_64.h
> >  unifdef-y += vm86.h
> >  unifdef-y += vsyscall.h
> > +unifdef-y += perf_event_p4.h
> 
> +header-y += perf_event_p4.h
> 
> Need to update this to header-y.


Yeah, thanks for catching this!

> 
> Thanks,
> Lin Ming
> 
...

	-- Cyrill

      reply	other threads:[~2010-08-17 14:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-16 11:02 [RFC -tip] Cyrill Gorcunov
2010-08-17  9:14 ` Lin Ming
2010-08-17 14:10   ` Cyrill Gorcunov [this message]

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=20100817141013.GA5879@lenovo \
    --to=gorcunov@gmail.com \
    --cc=acme@redhat.com \
    --cc=eranian@google.com \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ming.m.lin@intel.com \
    --cc=mingo@elte.hu \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox