T tracer: support float types in traces

This commit is contained in:
Cedric Roux
2024-11-15 16:02:52 +01:00
parent f54ca5714e
commit 0eb0325b96
5 changed files with 16 additions and 1 deletions
+2
View File
@@ -13,6 +13,7 @@
enum event_arg_type {
EVENT_INT,
EVENT_ULONG,
EVENT_FLOAT,
EVENT_STRING,
EVENT_BUFFER
};
@@ -23,6 +24,7 @@ typedef struct {
union {
int i;
unsigned long ul;
float f;
char *s;
struct {
int bsize;