-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'linuxkerneltravel:develop' into develop
- Loading branch information
Showing
323 changed files
with
902,412 additions
and
10,637 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: fast_fuse | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*" | ||
paths: | ||
- 'eBPF_Supermarket/Filesystem_Subsystem/fast_fuse/**' | ||
- '.github/workflows/fast_fuse.yml' | ||
pull_request: | ||
branches: | ||
- "*" | ||
paths: | ||
- 'eBPF_Supermarket/Filesystem_Subsystem/fast_fuse/**' | ||
- '.github/workflows/ebpf_FUSE_read.yml' | ||
|
||
jobs: | ||
fast_fuse-build-and-test: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Run fusedemo | ||
run: | | ||
cd eBPF_Supermarket/Filesystem_Subsystem/fast_fuse/fusedemo/ | ||
sudo apt update | ||
sudo apt install fuse libfuse-dev meson wget git | ||
wget https://github.com/libfuse/libfuse/releases/download/fuse-3.16.2/fuse-3.16.2.tar.gz | ||
tar -zxvf fuse-3.16.2.tar.gz | ||
mv fuse-3.16.2 libfuse | ||
cd libfuse | ||
cp ../fusedemo.c ./example/ | ||
cp ../Makefile ./ | ||
rm ./example/meson.build | ||
cp ../meson.build ./example/ | ||
make | ||
cd ./build/example/ | ||
mkdir ./yourdir | ||
./fusedemo ./yourdir | ||
df -T ./yourdir |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
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 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: net_manager | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*" | ||
paths: | ||
- 'eBPF_Supermarket/Network_Subsystem/net_manager/**' | ||
- '.github/workflows/net_manager.yml' | ||
pull_request: | ||
branches: | ||
- "*" | ||
paths: | ||
- 'eBPF_Supermarket/Network_Subsystem/net_manager/**' | ||
- '.github/workflows/net_manager.yml' | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build-and-run: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies and Init Env | ||
run: | | ||
sudo apt update | ||
sudo apt install clang llvm libelf-dev libpcap-dev build-essential libc6-dev-i386 linux-headers-$(uname -r) linux-tools-common linux-tools-generic | ||
sudo git submodule update --init --recursive | ||
- name: Build and Run | ||
run: | | ||
cd eBPF_Supermarket/Network_Subsystem/net_manager/ | ||
sudo ./configure | ||
sudo make | ||
# run | ||
sudo timeout -s SIGINT 5 ./xdp_loader -d ens33 -S || if [[ $? != 124 && $? != 0 ]];then exit $?;fi | ||
sudo ./xacladm load ens33 ./conf.d/mac_load.conf | ||
sudo xdp-loader unload ens33 --all | ||
|
||
|
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
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
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
* @helight @LinkinPF @chenamy2017 | ||
/eBPF_Supermarket/Filesystem_Subsystem @13186379707 @helight @LinkinPF @chenamy2017 | ||
/eBPF_Supermarket/Network_Subsystem/net_watcher @helight @LinkinPF @chenamy2017 | ||
/eBPF_Supermarket/CPU_Subsystem/cpu_watcher @helight @LinkinPF @chenamy2017 @zhangzihengya | ||
/eBPF_Supermarket/CPU_Subsystem/eBPF_proc_image @helight @LinkinPF @chenamy2017 @zhangzihengya | ||
/eBPF_Supermarket/Stack_Analyser @helight @LinkinPF @chenamy2017 @GorilaMond | ||
/eBPF_Supermarket/kvm_watcher @helight @LinkinPF @chenamy2017 @nanshuaibo | ||
/eBPF_Supermarket/CPU_Subsystem/cpu_watcher @zhangzihengya @helight @LinkinPF @chenamy2017 | ||
/eBPF_Supermarket/CPU_Subsystem/eBPF_proc_image @zhangzihengya @helight @LinkinPF @chenamy2017 | ||
/eBPF_Supermarket/Stack_Analyser @GorilaMond @helight @LinkinPF @chenamy2017 | ||
/eBPF_Supermarket/kvm_watcher @nanshuaibo @helight @LinkinPF @chenamy2017 | ||
/eBPF_Supermarket/Memory_Subsystem @helight @LinkinPF @chenamy2017 | ||
/MagicEyes @ziyangfu @helight @LinkinPF @chenamy2017 |
Oops, something went wrong.