grafana / grafana/pyroscope

how to use ebpf obtain the profile data of local c++ program?

Open
#2,946 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
11.7k
Forks
802
Avg merge
1d 19h
Merged PRs (30d)
80

Description

first my system environment is OK, that mean is: i compile kernel with CONFIG_DEBUG_INFO_BTF=y option. and compile c++ program with -g -O0 -fno-omit-frame-pointer option.
then i run the pyroscope and a c++ program in local(not any container).
that is my grafan-agent-flow config:
![POPO-screenshot-20240119-002651](https://github.com/grafana/pyroscope/assets/34326084/7b78fa3f-0f7f-4c72-bacf-07ff6cf35010)
finally, i not obtained any data:
![POPO-screenshot-20240119-002900](https://github.com/grafana/pyroscope/assets/34326084/31d6732f-adab-4238-8440-b2d1d4e6c41a)
so, How should I configure it. can you give me a example? thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.