Skip to content

Merge branch 'linuxkerneltravel:develop' into develop #2

Merge branch 'linuxkerneltravel:develop' into develop

Merge branch 'linuxkerneltravel:develop' into develop #2

name: mem_watcher
on:
push:
branches:
- "*"
paths:
- 'eBPF_Supermarket/Memory_Subsystem/applications/mem_watcher/**'
- '.github/workflows/Memory_Subsystem__mem_watcher.yml'
pull_request:
branches:
- "*"
paths:
- 'eBPF_Supermarket/Memory_Subsystem/applications/mem_watcher/**'
- '.github/workflows/Memory_Subsystem__mem_watcher.yml'
jobs:
libbpf-project-build-and-test:
runs-on: ubuntu-20.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 mem_watcher
continue-on-error: true
run: |
cd eBPF_Supermarket/Memory_Subsystem/applications/mem_watcher/
bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux.h
make paf
make pr
make procstat
make sysstat
make mem_watcher
sudo timeout 20 ./mem_watcher