Commit 105eaa60 authored by Cedric Roux's avatar Cedric Roux

T: increase max number of args in an event and make the define more private

T_MAX_ARGS was 16 and some people start to use the T machinery with
more than 16 values. So be it. Let tracers be friendly and accept 32.
(More commits to follow for full support.)

Also why is T_MAX_ARGS in T_defs.h when it's only used by event.h?
Hum?
parent 1e645c51
......@@ -36,9 +36,6 @@
/* comment (and recompile everything) to not send time in events */
#define T_SEND_TIME
/* maximum number of arguments for the T macro */
#define T_MAX_ARGS 16
/* maximum size of a message - increase if needed */
#define T_BUFFER_MAX (1024*64*4)
......
......@@ -7,6 +7,9 @@
#include <time.h>
#endif
/* maximum number of arguments for the T macro */
#define T_MAX_ARGS 32
enum event_arg_type {
EVENT_INT,
EVENT_ULONG,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment