@@ -137,11 +137,11 @@ AC_ARG_WITH([bdb],
137137 [ use_bdb=$withval] ,
138138 [ use_bdb=auto] )
139139
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] )
145145
146146AC_ARG_WITH ( [ miniupnpc] ,
147147 [ AS_HELP_STRING ( [ --with-miniupnpc] ,
@@ -1341,15 +1341,15 @@ if test "$enable_wallet" != "no"; then
13411341 fi
13421342fi
13431343
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] )
13461346 AC_COMPILE_IFELSE ( [
13471347 AC_LANG_PROGRAM (
13481348 [ #include <sys/sdt.h>] ,
13491349 [ DTRACE_PROBE("context", "event");]
13501350 ) ] ,
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;]
13531353 )
13541354fi
13551355
@@ -1763,7 +1763,6 @@ AM_CONDITIONAL([TARGET_WINDOWS], [test "$TARGET_OS" = "windows"])
17631763AM_CONDITIONAL([ ENABLE_WALLET] , [ test "$enable_wallet" = "yes"] )
17641764AM_CONDITIONAL([ USE_SQLITE] , [ test "$use_sqlite" = "yes"] )
17651765AM_CONDITIONAL([ USE_BDB] , [ test "$use_bdb" = "yes"] )
1766- AM_CONDITIONAL([ ENABLE_TRACING] , [ test "$have_sdt" = "yes"] )
17671766AM_CONDITIONAL([ ENABLE_TESTS] , [ test "$BUILD_TEST" = "yes"] )
17681767AM_CONDITIONAL([ ENABLE_FUZZ] , [ test "$enable_fuzz" = "yes"] )
17691768AM_CONDITIONAL([ ENABLE_FUZZ_BINARY] , [ test "$enable_fuzz_binary" = "yes"] )
@@ -1932,7 +1931,7 @@ echo " with bench = $use_bench"
19321931echo " with upnp = $use_upnp"
19331932echo " with natpmp = $use_natpmp"
19341933echo " use asm = $use_asm"
1935- echo " ebpf tracing = $have_sdt "
1934+ echo " USDT tracing = $use_usdt "
19361935echo " sanitizers = $use_sanitizers"
19371936echo " debug enabled = $enable_debug"
19381937echo " gprof enabled = $enable_gprof"
0 commit comments