qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH, RFC] Sparc: convert some debug printf statement


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH, RFC] Sparc: convert some debug printf statements to tracepoints
Date: Sat, 9 Oct 2010 18:00:13 +0200

Am 09.10.2010 um 17:46 schrieb Blue Swirl:

On Sat, Oct 9, 2010 at 3:35 PM, Andreas Färber <address@hidden> wrote:
Am 09.10.2010 um 17:10 schrieb Blue Swirl:

Replace some debug printf statements with tracepoints.

Signed-off-by: Blue Swirl <address@hidden>
---
I think tracing way is more flexible than current conditional code. I remember wading through hundreds of megs of DPRINTF output looking for
a clue about a specific event, so being able to control the trace
dynamically is invaluable.

While this may in theory be right, in practice the nop backend gives us nothing and the simple trace backend still has porting issues that need to
be fixed.

Which issues, do you mean that Python isn't available for all platforms?

Python is installable on Win32, I'm talking about build failures, I'll check later.

I remember hacking around some time-related problems on Haiku (it was using an optional POSIX feature without check/wrapper), and there was a comment
saying that similar changes need to be done for Win32 support too.

Has anyone looked into a DTrace backend btw?

Is that more portable than the simple backend?

No, but it's the native trace framework on Solaris and Mac OS X - two platforms where I have not yet checked whether the simple backend builds and works.
It's also been ported to FreeBSD, I think.

Andreas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]