From: Jeff Dike <jdike@addtoit.com>
To: clowncoder <vincent-perrier@club-internet.fr>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] g_timeout_add
Date: Fri, 15 Feb 2008 13:46:50 -0500 [thread overview]
Message-ID: <20080215184650.GA8810@c2.user-mode-linux.org> (raw)
In-Reply-To: <47B5CE40.9000005@club-internet.fr>
On Fri, Feb 15, 2008 at 06:39:12PM +0100, clowncoder wrote:
> By the way, do you use other very interresting tools such as strace?
> if so could you give me names?
strace is the major one.
> 1203096946.933947 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}],
> 2, 4996) = 0
> 1203096958.157856 gettimeofday({1203096958, 158538}, NULL) = 0
The smoking gun - a poll that should have timed out in .5 sec slept
for 12.
Now, can you do it again, but strace UML on the host at the same time,
with -ttt?
Jeff
--
Work email - jdike at linux dot intel dot com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2008-02-15 18:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 19:57 [uml-devel] g_timeout_add clowncoder
2008-02-14 0:38 ` Jeff Dike
2008-02-14 22:16 ` clowncoder
2008-02-15 16:02 ` Jeff Dike
2008-02-15 17:39 ` clowncoder
2008-02-15 18:46 ` Jeff Dike [this message]
2008-03-14 23:01 ` [uml-devel] [2.6.24.x] UML select()/poll() oversleeping reproducibly (was Re: g_timeout_add) Nix
2008-03-17 16:27 ` Jeff Dike
2008-03-17 17:03 ` Jeff Dike
2008-03-17 19:34 ` Jeff Dike
2008-03-17 21:08 ` [uml-devel] [2.6.24.x] UML select()/poll() oversleeping reproducibly Nix
2008-03-18 17:00 ` Jeff Dike
2008-03-18 19:39 ` Nix
2008-03-19 22:14 ` Nix
2008-02-21 22:02 ` [uml-devel] Timeout in the select clowncoder
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=20080215184650.GA8810@c2.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
--cc=vincent-perrier@club-internet.fr \
/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