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

Feat ebpf #923

Closed
wants to merge 5 commits into from
Closed

Feat ebpf #923

wants to merge 5 commits into from

Conversation

Chiichen
Copy link
Member

No description provided.

Godones and others added 4 commits August 15, 2024 14:20
* feat(bpf): add rbpf crate

* set edition 2021 and fix test fail

* refactor: refactor the module import

* ci: enable ci workflow on branches other than master (#891)

* 修复unlink、unlinkat系统调用的路径错误 (#892)

* fix cargo test error

rbpf's doc tests need the load_elf__block_a_port.o file, but git ignores
it. I modify the file name to pass the git.

---------

Co-authored-by: Chiichen <[email protected]>
Co-authored-by: MemoryShore <[email protected]>
* feat(kprobe): Add basic kprobe support for x86_64

This commit extends the TrapFrme method to facilitate use by callback
functions in kprobes. In order to find the function address based on
the symbol, we added the`addr_from_symbol` function.

In the x86 and riscv64 architecture related codes, we have added the
handling of breakpoint exceptions and single-step exceptions.

* update dep for kprobe

* feat(kprobe): add kprobe crate

* fix the error for riscv64

* remove #![no_main] from kprobe

* update dep for kprobe

* refactor kprobe impl

* feat: Refactor kprobe implementation

Support multiple kprobes registered in the same location

* remove useless code

* refactor KprobeManager interface
* ci: enable ci workflow on branches other than master (#891)

* 修复unlink、unlinkat系统调用的路径错误 (#892)

* fix: socket shutdown wrong implement (#893)

* feat: 增加tokio异步运行时支持 (#894)

* fix the EventFdFlags error

* feat: support tokio (Single thread version)

Fix deadlock issue on closing file.
Add function for PipeInode and EventFdInode.

* fix: pipe 读取/写入阻塞时,无法kill进程的问题 (#889)

* fix: 修复存在多个virtio设备时,中断号冲突的问题 (#904)

* feat: 添加gendisk抽象 (#903)

* feat: 添加gendisk抽象.

* 支持使用virtio磁盘作为根文件系统

* Update initial_kthread.rs to resolve conflict.

---------

Co-authored-by: Donkey Kane <[email protected]>

---------

Co-authored-by: MemoryShore <[email protected]>
Co-authored-by: Samuel Dai <[email protected]>
Co-authored-by: linfeng <[email protected]>
Co-authored-by: LoGin <[email protected]>
Co-authored-by: Donkey Kane <[email protected]>
@github-actions github-actions bot added the ambiguous The title of PR/issue doesn't match the format label Sep 13, 2024
@dragonosbot dragonosbot added A-fs Area: 文件系统 O-riscv64 Target: riscv64 O-x86_64 Target: x86_64 labels Sep 13, 2024
@Chiichen Chiichen marked this pull request as ready for review September 17, 2024 09:47
@Chiichen Chiichen closed this Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-fs Area: 文件系统 ambiguous The title of PR/issue doesn't match the format O-riscv64 Target: riscv64 O-x86_64 Target: x86_64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants