13 Commits

Author SHA1 Message Date
yunwei37
277ecbaf9d Add HID-BPF tutorial and implementation for virtual mouse input modification
- Introduced a comprehensive tutorial in README.md explaining how to fix broken HID devices using eBPF without kernel patches.
- Implemented a userspace program (hid-input-modifier.c) that creates a virtual HID mouse using the uhid interface and sends synthetic mouse events.
- Developed a BPF program (hid-input-modifier.bpf.c) that intercepts HID events and modifies mouse movement data, effectively doubling the X and Y movement.
- Created necessary header files (hid_bpf.h, hid_bpf_defs.h, hid_bpf_helpers.h) to define structures and helper functions for the BPF program.
- Added functionality to find and manage the virtual HID device, ensuring seamless integration with the BPF program.
2025-10-05 22:40:58 -07:00
yunwei37
445722e8a3 docs: remove redundant references to official documentation in multiple tutorial README files 2025-10-01 16:56:59 -07:00
yunwei37
83ac64b8ef docs: enhance README and Makefile for clarity and functionality
- Improved descriptions of key features in the README, emphasizing type safety, symbol resolution, error handling, logging, and command-line interface.
- Updated the Makefile to include a specific RUSTFLAGS setting for building the blazesym library, enhancing build safety and control.
2025-09-01 12:37:30 +00:00
yunwei37
30d7601b07 feat: initialize profile tool with Rust and BPF integration
- Removed the legacy C implementation of the profiling tool.
- Added a new Rust-based implementation that utilizes BPF for stack tracing.
- Introduced a Makefile for building the project and managing dependencies.
- Created a Cargo.toml file to manage Rust dependencies and project metadata.
- Implemented event handling and performance monitoring using the libbpf library.
- Added support for both standard and extended output formats for stack traces.
- Included a .gitignore file to exclude build artifacts and output directories.
- Established a new directory structure for organizing source files and BPF code.
2025-09-01 11:10:17 +00:00
Yusheng Zheng
049b40d222 rename README to chinese documents 2024-10-20 07:20:38 +00:00
Ruidong-X
86052be6cb docs(profile): add information about compile (#66) 2023-08-19 16:19:52 +01:00
云微
7134d52f4e Add link to English Webiste (#60)
* lint eng doc 1-4

* update link to our website

* update link to eng websize

* fix unintentional space
2023-08-15 17:39:25 +08:00
yunwei37
57e0164e90 update exitsnoop and bootstrap 2023-05-07 03:38:43 +08:00
yunwei37
6e8427badf update perf 2023-05-07 01:59:08 +08:00
yunwei37
fc1301094e add bootstrap files 2023-05-07 01:25:01 +08:00
yunwei37
2a05e13578 add submodule from libbpf-bootstrap 2023-05-07 00:59:20 +08:00
try-agaaain
f91e119b81 add the compile method of profile (#30) 2023-04-29 16:50:34 +08:00
ocfox
52ae3ae26d feat: deploy static web with mdbook (#11) 2023-03-09 11:36:23 +08:00