From: Avi Kivity <avi@redhat.com>
To: Daniel Schwager <Daniel.Schwager@dtnet.de>
Cc: kvm@vger.kernel.org
Subject: Re: Q: Stopped VM still using host cpu CPU ?
Date: Thu, 22 Oct 2009 15:29:02 +0200 [thread overview]
Message-ID: <4AE05E1E.3050308@redhat.com> (raw)
In-Reply-To: <EB31672367A401439CD5A4A10889D57B02118464@exchange.dtnet.de>
On 10/21/2009 10:29 PM, Daniel Schwager wrote:
>
> **** opreport -l --symbols | less
> CPU: CPU with timer interrupt, speed 0 MHz (estimated)
> Profiling through timer interrupt
> samples % image name app name
> symbol name
> 418814 98.5250 no-vmlinux no-vmlinux (no
> symbols)
> 1228 0.2889 qemu-system-x86_64 qemu-system-x86_64
> main_loop_wait
> 888 0.2089 libpthread-2.8.so libpthread-2.8.so
> __read_nocancel
> ...
>
>
Sorry, I gave you the wrong instructions. Since most of the time is
spent in vmlinux, we want to trace vmlinux, not qemu.
Three ways to see what is happening:
- set up vmlinux (you'll need to install the correct kernel-debuginfo
package to get this).
- strace -p `pgrep qemu` and see what syscalls take place
- run 'top' and look at the wchan field ('f' 'y' will show it if it is
hidden)
Probably easiest in reverse order as listed.
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2009-10-22 13:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-01 10:32 Q: Stopped VM still using host cpu CPU ? Daniel Schwager
2009-10-01 11:47 ` Daniel Schwager
[not found] ` <4AC8B6D9.7070003@redhat.com>
[not found] ` <EB31672367A401439CD5A4A10889D57B02118226@exchange.dtnet.de>
[not found] ` <4AC8C018.6050302@redhat.com>
2009-10-16 21:35 ` Daniel Schwager
2009-10-18 6:59 ` Avi Kivity
2009-10-18 18:29 ` Daniel Schwager
2009-10-18 18:47 ` Daniel Schwager
2009-10-18 21:57 ` Avi Kivity
2009-10-21 20:29 ` Daniel Schwager
2009-10-22 13:29 ` Avi Kivity [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=4AE05E1E.3050308@redhat.com \
--to=avi@redhat.com \
--cc=Daniel.Schwager@dtnet.de \
--cc=kvm@vger.kernel.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 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.