Skip to content

cpu_watcher:统计抢占时间及调度延迟功能添加 (#727) #1

cpu_watcher:统计抢占时间及调度延迟功能添加 (#727)

cpu_watcher:统计抢占时间及调度延迟功能添加 (#727) #1

Workflow file for this run

name: MagicEyes
on:
push:
branches:
- "*"
paths:
- 'MagicEyes/**'
- '.github/workflows/magic_eyes.yml'
pull_request:
branches:
- "*"
paths:
- 'MagicEyes/**'
- '.github/workflows/magic_eyes.yml'
permissions:
contents: write
jobs:
build-and-run:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install dependencies and Init Env
run: |
sudo apt update
sudo apt install libbpf-dev clang-14 llvm-14 libelf-dev libpcap-dev gcc-multilib build-essential cmake
git submodule update --init --recursive
- name: Build
run: |
cd MagicEyes/
mkdir build && cd build
cmake -DBUILD_ALL=ON ..
make
make install