[lttng-dev] [Fix:lttng-tools-PATCH] Fix:Change the type of enabled in lttng_event to a signed int

Danny Serres danny.serres at efficios.com
Fri Jun 8 10:19:08 EDT 2012


Signed-off-by: Danny Serres <danny.serres at efficios.com>
---
 include/lttng/lttng.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h
index 3b1be61..c80e282 100644
--- a/include/lttng/lttng.h
+++ b/include/lttng/lttng.h
@@ -214,7 +214,7 @@ struct lttng_event {
 	enum lttng_loglevel_type loglevel_type;
 	int loglevel;
 
-	uint32_t enabled;
+	int32_t enabled;	/* Does not apply: -1 */
 	pid_t pid;
 
 	char padding[LTTNG_EVENT_PADDING1];
-- 
1.7.9.5




More information about the lttng-dev mailing list