|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 15/17] tools/xenstore: introduce trace classes
Hi Juergen, On 17/01/2023 09:11, Juergen Gross wrote:
AFAICT, this array is not meant to be modified. So you want a second const. + "obj", "io", "wrl", + NULL +}; [...] I would add a comment on top to explain that the value should be kept in sync with trace_switches.diff --git a/tools/xenstore/xenstored_core.h b/tools/xenstore/xenstored_core.h index 3b96ecd018..c85b15515c 100644 --- a/tools/xenstore/xenstored_core.h +++ b/tools/xenstore/xenstored_core.h @@ -287,6 +287,12 @@ extern char **orig_argv;extern char *tracefile;extern int tracefd; +extern unsigned int trace_flags; +#define TRACE_OBJ 0x00000001 +#define TRACE_IO 0x00000002 +#define TRACE_WRL 0x00000004 Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |