Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

尝试重新提交 #506

Merged
merged 24 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d945df4
Add files via upload
13186379707 Aug 24, 2023
c71b7f0
Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code directory
13186379707 Aug 24, 2023
0fd00ab
Add files via upload
13186379707 Aug 24, 2023
8857067
Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code directory
13186379707 Aug 30, 2023
c73bfd7
Add files via upload
13186379707 Aug 30, 2023
71e7eb8
Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/docs/FUSE_read…
13186379707 Aug 30, 2023
abfabbb
Add files via upload
13186379707 Aug 30, 2023
0c299e2
Update attr.c
13186379707 Aug 30, 2023
4574a34
Merge branch 'linuxkerneltravel:develop' into develop
13186379707 Sep 22, 2023
ed92112
Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/docs/FUSE_read…
13186379707 Sep 22, 2023
de97976
Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code/StackFS d…
13186379707 Sep 22, 2023
9f42b2f
Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code/ExtFUSE F…
13186379707 Sep 22, 2023
4e38335
Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code/fusedemo …
13186379707 Sep 22, 2023
67b937e
Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE/code directory
13186379707 Sep 22, 2023
1324333
add a simple filesystem based on fuse library
13186379707 Sep 22, 2023
d87cf18
Update system_filesystem.yml
13186379707 Sep 22, 2023
f3a51e6
Merge branch 'linuxkerneltravel:develop' into develop
13186379707 Sep 22, 2023
d90a63a
Delete eBPF_Supermarket/Filesystem_Subsystem/eBPF_FUSE directory
13186379707 Sep 22, 2023
33b1cf0
Create eBPF_FUSE_read workflows
13186379707 Sep 22, 2023
c68e661
Rename eBPF_FUSE_read to eBPF_FUSE_read.yml
13186379707 Sep 22, 2023
be56b18
Add files via upload
13186379707 Sep 22, 2023
003b106
Delete eBPF_Supermarket/eBPF_FUSE directory
13186379707 Sep 22, 2023
fdc8486
Update eBPF_FUSE_read.yml
13186379707 Sep 22, 2023
8a94a0a
Add files via upload
13186379707 Sep 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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