mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
config: Detect presence of USDT header in configure
This commit is contained in:
committed by
Rusty Russell
parent
693d510992
commit
df10a7ec9b
12
configure
vendored
12
configure
vendored
@@ -413,6 +413,18 @@ int main(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/*END*/
|
/*END*/
|
||||||
|
var=HAVE_USDT
|
||||||
|
desc=User Statically-Defined Tracing (USDT)
|
||||||
|
style=DEFINES_EVERYTHING|EXECUTE|MAY_NOT_COMPILE
|
||||||
|
code=
|
||||||
|
#include <sys/sdt.h>
|
||||||
|
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
DTRACE_PROBE(lightningd, test_sdt);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
/*END*/
|
||||||
var=HAVE_GCC
|
var=HAVE_GCC
|
||||||
desc=compiler is GCC
|
desc=compiler is GCC
|
||||||
style=OUTSIDE_MAIN
|
style=OUTSIDE_MAIN
|
||||||
|
|||||||
Reference in New Issue
Block a user