Skip to content

cpu_watcher:实现sar功能百分比输出&调度延迟输出进程名 (#797) #22

cpu_watcher:实现sar功能百分比输出&调度延迟输出进程名 (#797)

cpu_watcher:实现sar功能百分比输出&调度延迟输出进程名 (#797) #22

name: cpu_watcher
on:
push:
branches:
- "*"
paths:
- 'eBPF_Supermarket/CPU_Subsystem/cpu_watcher/**'
- '.github/workflows/cpu_watcher.yml'
pull_request:
branches:
- "*"
paths:
- 'eBPF_Supermarket/CPU_Subsystem/cpu_watcher/**'
- '.github/workflows/cpu_watcher.yml'
jobs:
cpu_watcher-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 cpu_watcher
run: |
cd eBPF_Supermarket/CPU_Subsystem/cpu_watcher/
make
sudo ./cpu_watcher