eunomia-bpf / bpftime

Userspace eBPF runtime for fast Uprobe & Syscall hook & Extensions with LLVM JIT
https://eunomia.dev/bpftime/
MIT License
687 stars 68 forks source link

[BUG] After installing the development environment, the version number cannot be queried through the command #272

Closed yuanrui77 closed 2 months ago

yuanrui77 commented 2 months ago

Operating system: ubuntu22.04

In docker environment: Enter the command: bpftime -v Show version: 1.0

Without using the docker environment, follow the steps yourself and run through the provided cases. Enter the command: bpftime -v No version number shown

NobinPegasus commented 2 months ago

@yuanrui77 It's working fine on my local machine. Have you built the tool successfully on your local machine? Have you used these commands?

make release JOBS=$(nproc) # Build and install the runtime
export PATH=$PATH:~/.bpftime
pegasus@pegasus:~/Documents/bpftime$ bpftime -v
1.0
yuanrui77 commented 2 months ago

Yes, the reason was that I didn't have a successful build, now the problem has been solved, thank you