libbpf_cs_delay 可视化输出 #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: libbpf | |
on: | |
push: | |
branches: | |
- "*" | |
paths: | |
- 'eBPF_Supermarket/CPU_Subsystem/cs_delay/libbpf_cs_delay/**' | |
- '.github/workflows/libbpf.yml' | |
pull_request: | |
branches: | |
- "*" | |
paths: | |
- 'eBPF_Supermarket/CPU_Subsystem/cs_delay/libbpf_cs_delay/**' | |
- '.github/workflows/libbpf.yml' | |
jobs: | |
libbpf-project-build-and-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install libbpf-dev clang llvm libelf-dev libpcap-dev gcc-multilib build-essential | |
git submodule update --init --recursive | |
- name: Run cs_delay | |
run: | | |
cd eBPF_Supermarket/CPU_Subsystem/cs_delay/libbpf_cs_delay | |
make cs_delay | |
sudo ./cs_delay |