Process error
Opened this issue · 1 comments
yelinaung commented
Hello! Thanks for creating and open-sourcing it.
I have managed to compiled below on my system which is
➜ below git:(main) ✗ uname -r
5.8.0-63-generic
➜ below git:(main) ✗ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
After compiling from the source, when I try to run it, I am not able to with the following error
➜ below git:(main) ✗ sudo ./target/release/below --help
below 0.3.0
USAGE:
below [FLAGS] [OPTIONS] [SUBCOMMAND]
FLAGS:
-d, --debug
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--config <config> [default: /etc/below/below.conf]
SUBCOMMANDS:
debug Debugging facilities (for development use)
dump Dump historical data into parseable text format
help Prints this message or the help of the given subcommand(s)
live Display live system data (interactive) (default)
record Record local system data (daemon mode)
replay Replay historical data (interactive)
➜ below git:(main) ✗ sudo ./target/release/below --debug
libbpf: loading object 'exitstat_bpf' from buffer
libbpf: elf: section(3) tracepoint/sched/sched_process_exit, size 1664, link 0, flags 6, type=1
Sep 28 09:20:54.531 ERRO %
I have also tried cleaning up with cargo clean -p below
and did cargo build --release
again but still the same issue.
Are there anything I am missing ?
danobi commented
Are there more logs? Looks like BPF prog is failing to load or something.
As a workaround, you could do below record --disable-exitstats
and then do below replay ...
in another terminal. By default below
(the bare command) runs below live
and combines both record and replay.