mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-20 10:06: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:
@ -310,6 +310,7 @@ pub enum DeviceType {
|
||||
PlatformDev,
|
||||
Char,
|
||||
Pci,
|
||||
Other,
|
||||
}
|
||||
|
||||
/// @brief: 设备标识符类型
|
||||
|
@ -21,7 +21,6 @@ pub fn driver_init() -> Result<(), SystemError> {
|
||||
platform_bus_init()?;
|
||||
serio_bus_init()?;
|
||||
CpuDeviceManager::init()?;
|
||||
|
||||
// 至此,已完成设备驱动模型的初始化
|
||||
return Ok(());
|
||||
}
|
||||
|
Reference in New Issue
Block a user