mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 00:46:31 +00:00
feat(ebpf): support Aya framework. (#1070)
* feat(ebpf): support Aya framework. 1. fix the rbpf bug 2. use new Aya template 3. add kprobe related device files and attributes to sysfs --- Signed-off-by: chenlinfeng <chenlinfeng25@outlook.com>
This commit is contained in:
14
user/apps/syscall_ebpf/syscall_ebpf-common/Cargo.toml
Normal file
14
user/apps/syscall_ebpf/syscall_ebpf-common/Cargo.toml
Normal file
@ -0,0 +1,14 @@
|
||||
[package]
|
||||
name = "syscall_ebpf-common"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
user = ["aya"]
|
||||
|
||||
[dependencies]
|
||||
aya = { workspace = true, optional = true }
|
||||
|
||||
[lib]
|
||||
path = "src/lib.rs"
|
1
user/apps/syscall_ebpf/syscall_ebpf-common/src/lib.rs
Normal file
1
user/apps/syscall_ebpf/syscall_ebpf-common/src/lib.rs
Normal file
@ -0,0 +1 @@
|
||||
#![no_std]
|
Reference in New Issue
Block a user