projects
/
lttng-tools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Implement userspace-probe regression tests
[lttng-tools.git]
/
m4
/
ax_check_sdt_works.m4
1
# ac_CHECK_SDT_WORKS
2
#
3
# Check whether it's possible to build a binary with Systemtap SDT probes.
4
5
AC_DEFUN([ax_CHECK_SDT_WORKS], [
6
AC_COMPILE_IFELSE(
7
[AC_LANG_SOURCE([[
8
#define SDT_USE_VARIADIC
9
#include <sys/sdt.h>
10
void fct(void)
11
{
12
STAP_PROBEV(provider,name,1,2,3,4,5,6,7,8,9,10);
13
}
14
]])], [
15
ax_check_sdt_works=yes
16
], [
17
ax_check_sdt_works=no
18
]
19
)
20
])
This page took
0.055477 seconds
and
5
git commands to generate.