[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/4] trace: [simple] always enable trace points
From: |
Lluís |
Subject: |
Re: [Qemu-devel] [PATCH 4/4] trace: [simple] always enable trace points |
Date: |
Mon, 28 Mar 2011 14:39:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Last time there was discussion on disabling all tracee points in simple
by default, but providing an argument for a list of trace point to
enable at startup.
Instead, what I've done is enabling all trace points in simple by
default.
Given that "disable" will effectively disable all points, including the
dtrace backend, my question is what is preferred:
* leave it as it is in this patch
* leave all points as disabled, so the user has to remove the
"disable" regardless of the backend
* simple acts as stderr, all non-disabled points will generate output
* remove the "disable" on all events
* for any backend with trace point "states" leave the state as
disabled by default (dynamically enabling them is a backendspecific
operation, when supported)
* this means implementing the event list argument for the simple
backend in order to easily enable a set of events at program startup
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth