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?
This commit is contained in:
@@ -36,9 +36,6 @@
|
|||||||
/* comment (and recompile everything) to not send time in events */
|
/* comment (and recompile everything) to not send time in events */
|
||||||
#define T_SEND_TIME
|
#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 */
|
/* maximum size of a message - increase if needed */
|
||||||
#define T_BUFFER_MAX (1024*64*4)
|
#define T_BUFFER_MAX (1024*64*4)
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* maximum number of arguments for the T macro */
|
||||||
|
#define T_MAX_ARGS 32
|
||||||
|
|
||||||
enum event_arg_type {
|
enum event_arg_type {
|
||||||
EVENT_INT,
|
EVENT_INT,
|
||||||
EVENT_ULONG,
|
EVENT_ULONG,
|
||||||
|
|||||||
Reference in New Issue
Block a user