Am 09.10.2010 um 17:46 schrieb Blue Swirl:
On Sat, Oct 9, 2010 at 3:35 PM, Andreas Färber
<andreas.faer...@web.de> wrote:
Am 09.10.2010 um 17:10 schrieb Blue Swirl:
Replace some debug printf statements with tracepoints.
Signed-off-by: Blue Swirl <blauwir...@gmail.com>
---
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