kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chen Cao <kcao@redhat.com>
To: Jes Sorensen <Jes.Sorensen@redhat.com>
Cc: lmr@redhat.com, autotest@test.kernel.org, kvm@vger.kernel.org
Subject: Re: [PATCH] KVM test: Add perfmon into the guest tests
Date: Thu, 27 May 2010 17:53:29 +0800	[thread overview]
Message-ID: <20100527095328.GA4427@t4.rh> (raw)
In-Reply-To: <4BFE2891.3070804@redhat.com>

On Thu, May 27, 2010 at 10:08:49AM +0200, Jes Sorensen wrote:
> On 05/25/10 05:05, Chen Cao wrote:
> > perfmon2 API provides access to the hardware performance counters of
> > modern processors.
> > 
> > Dependency,
> > To compile the source code of the test, the following packages should
> > be installed,
> >         glibc-static-2.11.1-6.x86_64
> >         glibc-headers-2.11.1-6.x86_64
> >         glibc-common-2.11.1-6.x86_64
> >         glibc-devel-2.11.1-6.x86_64
> >         glibc-2.11.1-6.x86_64
> > 
> > Note,
> > 1. libpfm uses the Performance Monitor Unit (PMU) on the processors,
> > but this unit is not provided by kvm currently, i.e. the test should
> > fail in kvm guests.
> > 2. According to the README file of perfmon-tests-0.3, 2.6.24 or higer
> > Linux kernel (with perfmon v2.8 or higher) is needed to run the tests.
> 
> I thought perfmon2 was deprecated in favor of perf_event.c ? The only
> reference left for perfmon2 in the kernel is in the ia64 tree, and
> KVM/ia64 seems to be pretty dead these days.
> 

Jes,

Thank you for reminding.
I have not noticed your mail this afternoon and resent the patches for
the perfmon test, it seems that i may have made a mistake.

by the way, could you tell me how to verify that "perfmon2 was
deprecated in favor of perf_event.c", except looking into the kernel
code?


Regards,

Cao, Chen
2010/05/27

  reply	other threads:[~2010-05-27  9:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-25  3:05 [PATCH] KVM test: Add perfmon into the guest tests Chen Cao
2010-05-27  8:08 ` Jes Sorensen
2010-05-27  9:53   ` Chen Cao [this message]
2010-05-27 10:04     ` Jes Sorensen

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=20100527095328.GA4427@t4.rh \
    --to=kcao@redhat.com \
    --cc=Jes.Sorensen@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=lmr@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).