From: "zyy9812@126.com" <zyy9812@126.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: why only domain0 using timer interrupt
Date: Thu, 22 Jan 2015 20:06:50 +0800 [thread overview]
Message-ID: <2015012220065006501716@126.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1757 bytes --]
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?
zyy9812@126.com
[-- Attachment #1.2: Type: text/html, Size: 3699 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next reply other threads:[~2015-01-22 12:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-22 12:06 zyy9812 [this message]
2015-01-23 14:30 ` Is: oprofile in Linux with Xen. Was:Re: why only domain0 using timer interrupt Konrad Rzeszutek Wilk
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=2015012220065006501716@126.com \
--to=zyy9812@126.com \
--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.