Skip to content

在UMA下获取系统当前node以及node中所有的zone #2

在UMA下获取系统当前node以及node中所有的zone

在UMA下获取系统当前node以及node中所有的zone #2

Workflow file for this run

name: fraginfo
on:
push:
branches:
- "*"
paths:
- 'eBPF_Supermarket/Memory_Subsystem/fraginfo/**'
- '.github/workflows/ebpf_frag.yml'
pull_request:
branches:
- "*"
paths:
- 'eBPF_Supermarket/Memory_Subsystem/fraginfo/**'
- '.github/workflows/ebpf_frag.yml'
jobs:
fraginfo-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 linux-tools-$(uname -r)
git submodule update --init --recursive
- name: Run fraginfo
continue-on-error: true
run: |
cd eBPF_Supermarket/Memory_Subsystem/fraginfo/
bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux.h
make
sudo ./fraginfo -i 5