微型剖析器
使用eBPF在Go中编写的概念验证型CPU分析器
配置
标志:
Usage: tiny-profiler
Flags:
-h, --help Show context-sensitive help.
--log-level="info" Log level.
--http-address=":8080" Address to bind HTTP server to.
--node="localhost" Name node the process is running on. Used to
identify the process.
--profiling-duration=10s The agent profiling duration to use. Leave
this empty to use the defaults.
--local-store-directory="./tmp/profiles"
The local directory to store the profiling
data.
--remote-store-address=STRING
gRPC address to send profiles and symbols to.
--remote-store-bearer-token=STRING
Bearer token to authenticate with store.
--remote-store-bearer-token-file=STRING
File to read bearer token from to authenticate
with store.
--remote-store-insecure Send gRPC requests via plaintext instead of
TLS.
--remote-store-insecure-skip-verify
Skip TLS certificate verification.
--remote-store-debug-info-upload-disable
Disable debuginfo collection and upload.