Commit Graph

24 Commits

Author SHA1 Message Date
云微
37375ff87e docs: add generated tutorial compatibility matrix (#212)
* docs: declare tutorial compatibility requirements

* docs: generate tutorial compatibility matrix

* fix: correct BPF Arena minimum kernel

* refactor: simplify compatibility validation

---------

Co-authored-by: LinuxDev9002 <i@littlefisher.me>
2026-07-14 05:00:48 -07:00
KEROLT
d06ec2f281 fix: Correct tutorial 12 profile folded stack format (#202)
- Reorder stack processing to place kernel frames at bottom and user frames on top
- Match expected flamegraph.pl input format
- Simplify output to standard folded format: "comm;stack1;stack2 count"
- Remove timestamp and CPU metadata
2026-02-20 22:17:08 -08:00
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
a2e7b20d63 Add eBPF tutorial templates and update SUMMARY files
- Created SUMMARY.md.template and SUMMARY.zh.md.template for eBPF tutorial.
- Updated generate_toc.py to generate table of contents for English and Chinese versions.
- Added configuration files for new eBPF examples, categorizing them by level and type.
- Updated SUMMARY.md and SUMMARY.zh.md to reflect new lessons and reorganized sections.
- Introduced new features related to GPU and tracing in the tutorial.
2025-10-05 20:56:50 -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
officeyutong
59ef373431 add pid filter to profile 2025-06-08 04:01:00 +08: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
Ruidong-X
86052be6cb docs(profile): add information about compile (#66) 2023-08-19 16:19:52 +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
云微
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
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
c6c180293f add vmlinux and submodules 2023-05-07 01:05:19 +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