X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flow-throughput%2Ftp.h;h=961f2e907c64acb2655200ab6a4655296605f2cb;hb=59eb182b075a03dd716398f019cee0fdcfe47b7b;hp=3fa8c9a2dd9e5f08c52cc918e61a3888e0b211a1;hpb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;p=lttng-tools.git diff --git a/tests/regression/ust/low-throughput/tp.h b/tests/regression/ust/low-throughput/tp.h index 3fa8c9a2d..961f2e907 100644 --- a/tests/regression/ust/low-throughput/tp.h +++ b/tests/regression/ust/low-throughput/tp.h @@ -14,7 +14,7 @@ #include TRACEPOINT_EVENT(tp, slow, - TP_ARGS(unsigned int, c, char *, thread_name), + TP_ARGS(unsigned int, c, const char *, thread_name), TP_FIELDS( ctf_integer(unsigned int, counter, c) ctf_string(th_name, thread_name) @@ -23,8 +23,8 @@ TRACEPOINT_EVENT(tp, slow, #endif /* _TRACEPOINT_TP_H */ -#undef TRACEPOINT_INCLUDE_FILE -#define TRACEPOINT_INCLUDE_FILE ./tp.h +#undef TRACEPOINT_INCLUDE +#define TRACEPOINT_INCLUDE "./tp.h" /* This part must be outside ifdef protection */ #include