pyroscope
pyroscope copied to clipboard
pyroscope with eBPF
when i use pyroscope with eBPF
i get this error:
no BTF found for kernel
how to fix this error, please help me
hi @ColdV please give us more information about your system as well as your configuration for the grafana agent. have you taken a look at the ebpf example in the examples folder?
your kernel is either too old or compiled without CONFIG_DEBUG_INFO_BTF
we will need to add some support for providing custom arbitrary files which can be downloaded https://github.com/aquasecurity/btfhub
hi @ColdV please give us more information about your system as well as your configuration for the grafana agent. have you taken a look at the ebpf example in the examples folder?
this is my system info:
and yes, i looked the ebpf example, and config same as the example. this is my grafana agent config for ebpf:
your kernel is either too old or compiled without
CONFIG_DEBUG_INFO_BTF
we will need to add some support for providing custom arbitrary files which can be downloaded https://github.com/aquasecurity/btfhub
i will try it
i will try it
we will need to write some code and update agent before you try
I have solved the above problem.
but i encountered a new problem:
i use ebpf for a C++ program. but encountered this problem when start grafana agent
i will try it
we will need to write some code and update agent before you try
please, i use Grafana-Agent-Flow to collect C++ program. i see the grafana-agent send these msg to C++ program:
and C++ program not process these msg.
and grafana-agent self show these log:
finally i collect c++ program's profiles failed. so, i must process the msg from grafana-agent-flow sent? or what should I do?