mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 18:33:23 +00:00
feat: support tracepoint-based ebpf programs (#1190)
* feat: support tracepoint-based ebpf programs Signed-off-by: Godones <chenlinfeng25@outlook.com> * remove licenses Signed-off-by: Godones <chenlinfeng25@outlook.com> * feat: Supplement tracepoint related files fix some warnings add docs for tracepoint Signed-off-by: Godones <chenlinfeng25@outlook.com> --------- Signed-off-by: Godones <chenlinfeng25@outlook.com> Co-authored-by: longjin <longjin@DragonOS.org>
This commit is contained in:
16
user/apps/test_tracepoint/mytrace-common/Cargo.toml
Normal file
16
user/apps/test_tracepoint/mytrace-common/Cargo.toml
Normal file
@ -0,0 +1,16 @@
|
||||
[package]
|
||||
name = "mytrace-common"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
license.workspace = true
|
||||
|
||||
[features]
|
||||
default = []
|
||||
user = ["aya"]
|
||||
|
||||
[dependencies]
|
||||
aya = { workspace = true, optional = true }
|
||||
|
||||
[lib]
|
||||
path = "src/lib.rs"
|
1
user/apps/test_tracepoint/mytrace-common/src/lib.rs
Normal file
1
user/apps/test_tracepoint/mytrace-common/src/lib.rs
Normal file
@ -0,0 +1 @@
|
||||
#![no_std]
|
Reference in New Issue
Block a user