@@ -137,11 +137,11 @@ AC_ARG_WITH([bdb],
137
137
[ use_bdb=$withval] ,
138
138
[ use_bdb=auto] )
139
139
140
- AC_ARG_ENABLE ( [ ebpf ] ,
141
- [ AS_HELP_STRING ( [ --enable-ebpf ] ,
142
- [ enable eBPF tracing (default is yes if sys/sdt.h is found)] ) ] ,
143
- [ use_ebpf =$enableval] ,
144
- [ use_ebpf =yes] )
140
+ AC_ARG_ENABLE ( [ usdt ] ,
141
+ [ AS_HELP_STRING ( [ --enable-usdt ] ,
142
+ [ enable tracepoints for Userspace, Statically Defined Tracing (default is yes if sys/sdt.h is found)] ) ] ,
143
+ [ use_usdt =$enableval] ,
144
+ [ use_usdt =yes] )
145
145
146
146
AC_ARG_WITH ( [ miniupnpc] ,
147
147
[ AS_HELP_STRING ( [ --with-miniupnpc] ,
@@ -1341,15 +1341,15 @@ if test "$enable_wallet" != "no"; then
1341
1341
fi
1342
1342
fi
1343
1343
1344
- if test "$use_ebpf " != "no"; then
1345
- AC_MSG_CHECKING ( [ whether eBPF tracepoints are supported] )
1344
+ if test "$use_usdt " != "no"; then
1345
+ AC_MSG_CHECKING ( [ whether Userspace, Statically Defined Tracing tracepoints are supported] )
1346
1346
AC_COMPILE_IFELSE ( [
1347
1347
AC_LANG_PROGRAM (
1348
1348
[ #include <sys/sdt.h>] ,
1349
1349
[ DTRACE_PROBE("context", "event");]
1350
1350
) ] ,
1351
- [ AC_MSG_RESULT ( [ yes] ) ; have_sdt=yes; AC_DEFINE ( [ ENABLE_TRACING] , [ 1] , [ Define to 1 to enable eBPF user static defined tracepoints ] ) ] ,
1352
- [ AC_MSG_RESULT ( [ no] ) ; have_sdt =no;]
1351
+ [ AC_MSG_RESULT ( [ yes] ) ; AC_DEFINE ( [ ENABLE_TRACING] , [ 1] , [ Define to 1 to enable tracepoints for Userspace, Statically Defined Tracing ] ) ] ,
1352
+ [ AC_MSG_RESULT ( [ no] ) ; use_usdt =no;]
1353
1353
)
1354
1354
fi
1355
1355
@@ -1763,7 +1763,6 @@ AM_CONDITIONAL([TARGET_WINDOWS], [test "$TARGET_OS" = "windows"])
1763
1763
AM_CONDITIONAL([ ENABLE_WALLET] , [ test "$enable_wallet" = "yes"] )
1764
1764
AM_CONDITIONAL([ USE_SQLITE] , [ test "$use_sqlite" = "yes"] )
1765
1765
AM_CONDITIONAL([ USE_BDB] , [ test "$use_bdb" = "yes"] )
1766
- AM_CONDITIONAL([ ENABLE_TRACING] , [ test "$have_sdt" = "yes"] )
1767
1766
AM_CONDITIONAL([ ENABLE_TESTS] , [ test "$BUILD_TEST" = "yes"] )
1768
1767
AM_CONDITIONAL([ ENABLE_FUZZ] , [ test "$enable_fuzz" = "yes"] )
1769
1768
AM_CONDITIONAL([ ENABLE_FUZZ_BINARY] , [ test "$enable_fuzz_binary" = "yes"] )
@@ -1932,7 +1931,7 @@ echo " with bench = $use_bench"
1932
1931
echo " with upnp = $use_upnp"
1933
1932
echo " with natpmp = $use_natpmp"
1934
1933
echo " use asm = $use_asm"
1935
- echo " ebpf tracing = $have_sdt "
1934
+ echo " USDT tracing = $use_usdt "
1936
1935
echo " sanitizers = $use_sanitizers"
1937
1936
echo " debug enabled = $enable_debug"
1938
1937
echo " gprof enabled = $enable_gprof"
0 commit comments