All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "zyy9812@126.com" <zyy9812@126.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Is: oprofile in Linux with Xen. Was:Re: why only domain0 using timer interrupt
Date: Fri, 23 Jan 2015 09:30:39 -0500	[thread overview]
Message-ID: <20150123143039.GD7365@l.oracle.com> (raw)
In-Reply-To: <2015012220065006501716@126.com>

On Thu, Jan 22, 2015 at 08:06:50PM +0800, zyy9812@126.com wrote:
> Hi,
>   When I modprobe oprofile in domain0, the dmesg show below:
>     [root@sd02138 ~]# dmesg | tail -n 3 
>    sha256_ssse3: Using SSSE3 optimized SHA-256 implementation 
>    SELinux: initialized (dev cifs, type cifs), uses genfs_contexts 
>    oprofile: using timer interrupt.
>   But in domainU it the oprofile using the NMI interrup rightly.
>  [root@Domain1 ~]# modprobe oprofile 
>  [root@Domain1 ~]# dmesg | tail -n 3 
>  CIFS VFS: default security mechanism requested. The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 3.3 
>  SELinux: initialized (dev cifs, type cifs), uses genfs_contexts 
>  oprofile: using NMI interrupt.
> 
> 
>  I have patch the oprofile correctly,the opcontrol show:
> [root@sd02138 ~]# opcontrol
> ……
> --xen=file Xen image (for Xen only) 
> --active-domains=id[,ids] list of domains in multiple domain profiling session (Xen) 
> (detailed profiling of user level and kernel modules code) 
> (requires running oprofile on these domains) 
> --passive-domains=id[,ids] list of domains to be profiled (Xen). 
> or --domains=id[,ids] (coarse profiling of user level and kernel modules code) 
> (no need to run oprofile on these domains) 
> --passive-images=file[,files] list of kernel images associated with each passive domain 
> or 
> --domain-images=file[,files]ll patch the oprofile correctly,the opcontrol show:
> 
> cpu flags showed the apic flag
> [root@sd02138 ~]# cat /proc/cpuinfo | grep flags 
> flags : fpu de tsc msr pae mce cx8 apic sep mca cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good nopl nonstop_tsc pni pclmulqdq monitor est ssse3 cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm arat epb dtherm
> 
> Does xenoprof does not supprot X86_64? 

It does, but to to use oprofile in Linux you will need patches to enable it.
You might be better of just using 'perf'.


> 
> 
> zyy9812@126.com

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

      reply	other threads:[~2015-01-23 14:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-22 12:06 why only domain0 using timer interrupt zyy9812
2015-01-23 14:30 ` Konrad Rzeszutek Wilk [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=20150123143039.GD7365@l.oracle.com \
    --to=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=zyy9812@126.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.