mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-05 03:06:19 +00:00
For testing the USDT tracepoint API in the functional tests we
require:
- that we are on a Linux system*
- that Bitcoin Core is compiled with tracepoints
- that bcc and the the Python bcc module [0] is installed
- that we run the tests with the required permissions**
otherwise we skip the tests.
*: We currently only support tracepoints on Linux. Tracepoints are
not compiled on other platforms.
**: Currently, we check for root permissions via getuid == 0. It's
unclear if it's even possible to run the tests a non-root user
with e.g. CAP_BPF, CAP_PERFMON, and access to /sys/kernel/debug/
tracing/. Anyone running these tests as root should carefully
review them first and then run them in a disposable VM.
[0]: https://github.com/iovisor/bcc/blob/master/INSTALL.md
29 lines
1.1 KiB
INI
29 lines
1.1 KiB
INI
# Copyright (c) 2013-2016 The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
# These environment variables are set by the build process and read by
|
|
# test/*/test_runner.py and test/util/rpcauth-test.py
|
|
|
|
[environment]
|
|
PACKAGE_NAME=@PACKAGE_NAME@
|
|
PACKAGE_BUGREPORT=@PACKAGE_BUGREPORT@
|
|
SRCDIR=@abs_top_srcdir@
|
|
BUILDDIR=@abs_top_builddir@
|
|
EXEEXT=@EXEEXT@
|
|
RPCAUTH=@abs_top_srcdir@/share/rpcauth/rpcauth.py
|
|
|
|
[components]
|
|
# Which components are enabled. These are commented out by `configure` if they were disabled when running config.
|
|
@ENABLE_WALLET_TRUE@ENABLE_WALLET=true
|
|
@USE_SQLITE_TRUE@USE_SQLITE=true
|
|
@USE_BDB_TRUE@USE_BDB=true
|
|
@BUILD_BITCOIN_CLI_TRUE@ENABLE_CLI=true
|
|
@BUILD_BITCOIN_WALLET_TRUE@ENABLE_WALLET_TOOL=true
|
|
@BUILD_BITCOIND_TRUE@ENABLE_BITCOIND=true
|
|
@ENABLE_FUZZ_TRUE@ENABLE_FUZZ=true
|
|
@ENABLE_ZMQ_TRUE@ENABLE_ZMQ=true
|
|
@ENABLE_EXTERNAL_SIGNER_TRUE@ENABLE_EXTERNAL_SIGNER=true
|
|
@ENABLE_SYSCALL_SANDBOX_TRUE@ENABLE_SYSCALL_SANDBOX=true
|
|
@ENABLE_USDT_TRACEPOINTS_TRUE@ENABLE_USDT_TRACEPOINTS=true
|