Commit Graph

18 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
云微
70451702f0 Add wall clock analysis (#184)
* Add combined on-CPU and off-CPU profiler script

- Implemented a new profiling tool that captures both on-CPU and off-CPU activity for a specified process.
- The script runs 'oncputime' and 'offcputime' tools simultaneously and combines their results into a unified flamegraph.
- Added functionality to discover threads and profile them individually if the application is multi-threaded.
- Included error handling for tool execution and output processing.
- Created methods for generating flamegraph data and SVG visualizations.
- Added command-line argument parsing for user-defined profiling parameters.
- Implemented detailed analysis reports for both individual threads and overall profiling results.

* feat: integrate blazesym v0.2.0 for improved symbol resolution and add test program for memory leak detection

* docs: update README to enhance wall clock profiling tutorial with detailed explanations and examples

* feat: add wallclock-profiler tests to CI workflow for tool validation

* fix: rename combined_profiler.py to wallclock_profiler.py in test scripts and usage examples
2025-09-30 22:11:52 -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
Ning
76cc5bfed3 docs: changed a minor formatting error. (#155) 2024-12-15 16:57:48 +09:00
Yusheng Zheng
049b40d222 rename README to chinese documents 2024-10-20 07:20:38 +00:00
Yusheng Zheng
25ab494ccc add config for generate TOC 2024-10-20 07:20:38 +00:00
云微
fe5b53d6cd Add User ring post (#93)
* update

* update ci

* update link to eunomia.dev

* Update documents
2024-01-20 16:57:48 +00:00
云微
eab62193c6 improve tutorial title for better seo (#70)
* improve title for tutorial for better seo

* Add description test for summary page

* fix english documents syntax error

* fix links
2023-08-31 12:03:09 +01:00
云微
5055d062dc Move submodule to src/third_party and remove duplicated (#65)
* add submodule

* fix duplicate submodule

* fix submodule and remove duplicate code

* fix blazsym version
2023-08-18 21:39:31 +08:00
云微
1bbe35f02e Fix the rest Eng document syntax and add CI for them. (#63)
* fix memleak build error

* fix en document syntax

* lint the rest documents

* add ci for libbpf 13-17

* add eunomia test ci

* add ci for 10 and 20
2023-08-16 03:16:30 +08:00
云微
002414f578 Fix some syntax errors and add 17 (#62)
* update link to our website

* rename english title

* add biopattern

* fix too long titles

* fix syntax error

* fix syntax error

* fix intend
2023-08-15 16:14:55 +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
云微
ef9a1d9b47 add English doc (#55)
* add english documents

* docs: add root english README
2023-08-08 15:55:55 +08:00
yunwei37
9f29c04edf update memleak 2023-06-03 06:18:02 +08:00
yunwei37
d995c6a6f8 fix the link to tutorial 2023-06-03 06:18:02 +08:00
yunwei37
26823beedd add javagc and memleak code 2023-05-31 01:59:30 +08:00
try-agaaain
4505f027ca memleak (#29)
* add code and readme about memleak lesson

* fix the readme of memleak
2023-04-29 16:50:40 +08:00
ocfox
52ae3ae26d feat: deploy static web with mdbook (#11) 2023-03-09 11:36:23 +08:00