Skip to content

Commit

Permalink
尝试重新提交 (#506)
Browse files Browse the repository at this point in the history
* Add files via upload

* Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code directory

* Add files via upload

* Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code directory

* Add files via upload

* Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/docs/FUSE_read方法优化 directory

* Add files via upload

* Update attr.c

* Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/docs/FUSE_read directory

* Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code/StackFS directory

* Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code/ExtFUSE Framework directory

* Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code/fusedemo directory

* Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code directory

* add a simple filesystem based on fuse library

* Update system_filesystem.yml

* Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE directory

* Create eBPF_FUSE_read workflows

* Rename eBPF_FUSE_read to eBPF_FUSE_read.yml

* Add files via upload

* Delete eBPF_Supermarket/eBPF_FUSE directory

* Update eBPF_FUSE_read.yml

* Add files via upload
  • Loading branch information
13186379707 authored Sep 25, 2023
1 parent 9f00980 commit a7599e1
Show file tree
Hide file tree
Showing 12 changed files with 108 additions and 1,425 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/eBPF_FUSE_read.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: eBPF_FUSE_read

on:
push:
branches:
- "*"
paths:
- 'eBPF_Supermarket/eBPF_FUSE/eBPF_FUSE_read/**'
- '.github/workflows/ebpf_FUSE_read.yml'
pull_request:
branches:
- "*"
paths:
- 'eBPF_Supermarket/eBPF_FUSE/eBPF_FUSE_read/**'
- '.github/workflows/ebpf_FUSE_read.yml'

jobs:
FUSE_read-build-and-test:
runs-on: ubuntu-16.04.3

39 changes: 26 additions & 13 deletions .github/workflows/system_filesystem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,43 @@ on:
- '.github/workflows/system_filesystem.yml'

jobs:
build-and-test:
bcc-project-build-and-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3


- name: Cache BCC build directory
id: cache-bcc
uses: actions/cache@v3
with:
path: bcc
key: ${{ runner.os }}-bcc

- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo python -m pip install pyod
sudo python -m pip install psutil
sudo apt-get install -y linux-headers-$(uname -r)
sudo apt-get install -y python-is-python3
sudo apt-get install -y bison build-essential cmake flex git libedit-dev libllvm11 llvm-11-dev libclang-11-dev zlib1g-dev libelf-dev libfl-dev python3-distutils
sudo ln -s /usr/lib/llvm-11 /usr/local/llvm
- name: Build BCC
if: steps.cache-bcc.outputs.cache-hit != 'true'
run: |
sudo apt install -y bison build-essential cmake flex git libedit-dev \
libllvm14 llvm-14-dev libclang-14-dev python3 zlib1g-dev libelf-dev libfl-dev python3-distutils
git clone --depth 1 --branch v0.24.0 https://github.com/iovisor/bcc.git
mkdir bcc/build; cd bcc/build
cmake ..
make
sudo make install
cmake -DPYTHON_CMD=python3 .. # build python3 binding
pushd src/python/
wget https://github.com/iovisor/bcc/releases/download/v0.25.0/bcc-src-with-submodule.tar.gz
tar xf bcc-src-with-submodule.tar.gz
cd bcc/
mkdir build
cd build/
cmake -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_CMD=python3 ..
make
sudo make install
popd
- name: Run Main
run: |
Expand Down
674 changes: 0 additions & 674 deletions eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code/LICENSE.txt

This file was deleted.

Loading

0 comments on commit a7599e1

Please sign in to comment.