Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process error #8113

Open
yelinaung opened this issue Sep 28, 2021 · 1 comment
Open

Process error #8113

yelinaung opened this issue Sep 28, 2021 · 1 comment

Comments

@yelinaung
Copy link

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
Copy link
Contributor

danobi commented Sep 28, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants