All of lore.kernel.org
 help / color / mirror / Atom feed
From: Naresh Rapolu <nrapolu@purdue.edu>
To: xen-devel@lists.xensource.com
Subject: boot_cpu_data differs between Xen hypervisor boot and normal pv_ops kernel boot
Date: Wed, 31 Mar 2010 11:29:04 -0400	[thread overview]
Message-ID: <4BB36A40.1080903@purdue.edu> (raw)

Hello,

After booting  the  xen-stable 2.6.32.10 pv_ops kernel from jeremy git 
tree  with Xen-4.0.0-rc8 installed,
dmesg | grep PMU  shows :

Performance Events : unsupported p6 CPU model 26 no PMU driver, software 
events only.
PMU:oprofile: found i386/core_i7.

If I boot the same compiled kernel, without Xen installed, dmesg | grep 
PMU shows :
Performance Events : Nehalem/Corei7 events, Intel PMU driver.
PMU:oprofile: found i386/core_i7.


When I looked into the source code,  arch/x86/kernel/cpu/perf_event.c,   
at run-time boot_cpu_data  structure seems to differ  in these two forms 
of booting.
Due to this, Iam not able to use the hardware performance counters in  
my Xeon 5530 processor  as  hardware events(cache-misses etc) are being 
disabled.

Is there any reason for this ?

Any help is appreciated.
Thanks,
Naresh Rapolu.

             reply	other threads:[~2010-03-31 15:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-31 15:29 Naresh Rapolu [this message]
2010-03-31 15:43 ` boot_cpu_data differs between Xen hypervisor boot and normal pv_ops kernel boot Pasi Kärkkäinen
2010-03-31 17:51   ` Naresh Rapolu
2010-03-31 18:14 ` Jeremy Fitzhardinge

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=4BB36A40.1080903@purdue.edu \
    --to=nrapolu@purdue.edu \
    --cc=xen-devel@lists.xensource.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 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.