Skip to content

asas1asas200/ViewBPF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ViewBPF

ViewBPF, a frontend eBPF program results viewer.

cover

Building

There were four components need to setup. The following steps can use on Arch-based Linux.

Redis

$ sudo pacman -S redis
$ sudo systemctl enable redis.service --now

Backend

$ python -m venv venv
$ pip install -R requirements.txt
$ python app.py

Frontend

Currently, there is no static building frontend, so it uses vite.

$ npm install
$ npm run dev

Runner

Since bcc needs privilege, so write it as another python app.

$ sudo pacman -S bcc
$ sudo python run.py

Page

http://localhost:5173