Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kakkoyun/tiny-profiler
A Proof-of-concept CPU profiler written in Go using eBPF
https://github.com/kakkoyun/tiny-profiler
Last synced: about 1 month ago
JSON representation
A Proof-of-concept CPU profiler written in Go using eBPF
- Host: GitHub
- URL: https://github.com/kakkoyun/tiny-profiler
- Owner: kakkoyun
- License: apache-2.0
- Created: 2022-07-27T15:16:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T18:10:22.000Z (over 1 year ago)
- Last Synced: 2024-06-19T10:14:04.331Z (5 months ago)
- Language: Go
- Homepage:
- Size: 2.49 MB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Build](https://github.com/kakkoyun/tiny-profiler/actions/workflows/build.yml/badge.svg)
![Container](https://github.com/kakkoyun/tiny-profiler/actions/workflows/container.yml/badge.svg)
[![Apache 2 License](https://img.shields.io/badge/license-Apache%202-blue.svg)](LICENSE)# tiny-profiler
A Proof-of-concept CPU profiler written in Go using eBPF
## Configuration
Flags:
[embedmd]:# (dist/help.txt)
```txt
Usage: tiny-profilerFlags:
-h, --help Show context-sensitive help.
--log-level="info" Log level.
--http-address=":6060" 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.
```## License
User-space code: Apache 2
Kernel-space code (eBPF profiler): GNU General Public License, version 2