Hello,<br><br>please find attached a small patch which demonstrates the problem.<br><br>The patch simply renames the test file ust_tests_hello.h into ust_tests-linux-hello.h. The build then fails on linux because the "linux" in<br>
<br> #define TRACEPOINT_INCLUDE_FILE ./ust_tests-linux-hello.h<br><br>gets expanded to "1", and it then tries to include ust_tests-1-hello.h.<br><br>I do not know if this can be fixed, hopefully you'll have a better idea.<br>
<br>I came into the problem because I generate the tracepoint definition file (à la lttng-gen-tp) but define TRACEPOINT_INCLUDE_FILE to the full path of the generated file, which happens to be in the build directory, something like .../build-sys-linux-x86_64/..., So I'm more exposed.<br>
<br>Maybe a possible solution would involve __FILE__?<br><br>Cheers<br><br>-- Sébastien<br><br><br>