Bitcoin Core 28.99.0
P2P Digital Currency
Functions
util_trace_tests.cpp File Reference
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
#include <util/trace.h>
Include dependency graph for util_trace_tests.cpp:

Go to the source code of this file.

Functions

 TRACEPOINT_SEMAPHORE (test, zero_args)
 
 TRACEPOINT_SEMAPHORE (test, one_arg)
 
 TRACEPOINT_SEMAPHORE (test, six_args)
 
 TRACEPOINT_SEMAPHORE (test, twelve_args)
 
 TRACEPOINT_SEMAPHORE (test, check_if_attached)
 
 TRACEPOINT_SEMAPHORE (test, expensive_section)
 
 BOOST_AUTO_TEST_CASE (test_tracepoints)
 
int fail_test_if_executed ()
 
 BOOST_AUTO_TEST_CASE (test_tracepoint_check_if_attached)
 
 BOOST_AUTO_TEST_CASE (test_tracepoint_manual_tracepoint_active_check)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( test_tracepoint_check_if_attached  )

Definition at line 36 of file util_trace_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( test_tracepoint_manual_tracepoint_active_check  )

Definition at line 46 of file util_trace_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( test_tracepoints  )

Definition at line 21 of file util_trace_tests.cpp.

◆ fail_test_if_executed()

int fail_test_if_executed ( )

Definition at line 30 of file util_trace_tests.cpp.

Here is the caller graph for this function:

◆ TRACEPOINT_SEMAPHORE() [1/6]

TRACEPOINT_SEMAPHORE ( test  ,
check_if_attached   
)

◆ TRACEPOINT_SEMAPHORE() [2/6]

TRACEPOINT_SEMAPHORE ( test  ,
expensive_section   
)

◆ TRACEPOINT_SEMAPHORE() [3/6]

TRACEPOINT_SEMAPHORE ( test  ,
one_arg   
)

◆ TRACEPOINT_SEMAPHORE() [4/6]

TRACEPOINT_SEMAPHORE ( test  ,
six_args   
)

◆ TRACEPOINT_SEMAPHORE() [5/6]

TRACEPOINT_SEMAPHORE ( test  ,
twelve_args   
)

◆ TRACEPOINT_SEMAPHORE() [6/6]

TRACEPOINT_SEMAPHORE ( test  ,
zero_args   
)