Resolve "Add option to compile out LTTng entirely"
This commit is contained in:
parent
9d3ed4aa6b
commit
7b15e17cd2
6 changed files with 74 additions and 28 deletions
|
@ -17,6 +17,7 @@
|
|||
|
||||
int main()
|
||||
{
|
||||
#ifndef TRACETOOLS_DISABLED
|
||||
printf("Tracing ");
|
||||
if (ros_trace_compile_status()) {
|
||||
printf("enabled\n");
|
||||
|
@ -25,4 +26,8 @@ int main()
|
|||
printf("disabled\n");
|
||||
return 1;
|
||||
}
|
||||
#else
|
||||
printf("Tracing disabled through configuration\n");
|
||||
return 1;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue