Commit Graph

75 Commits

Author SHA1 Message Date
LinuxDev9002
562a6c4240 docs: restore tutorial fidelity checks 2026-07-26 09:27:20 -07:00
LinuxDev9002
10c020acc6 docs: refresh generated tutorial indexes 2026-07-22 14:38:20 -07:00
LinuxDev9002
2219cbc64f docs: rewrite four advanced eBPF tutorials 2026-07-22 01:36:04 -07:00
云微
ca1267d82a Add advanced eBPF tutorials 51–54 and tutorial agent skills (#220)
* Add targeted TCP connection quarantine tool

* Document TCP quarantine workflow

* Refresh package indexes before CI install

* Document TCP quarantine namespace scope

* Require BPF events for TCP iterator

* Add production fsession latency tracer

* Document fsession latency workflow

* Reject empty fsession CLI values

* Preserve successful fsession exit status

* Document fsession deadline regression test

* Drain fsession events before summary

* Document fsession PID and shutdown semantics

* Simplify fsession polling control flow

* Add bounded BPF egress pacer tutorial

* Test queued packet cleanup on signal

* Document the BPF egress pacer

* Polish and review the BPF egress pacer

* Refactor egress pacer option parsing

* Add executable image inspector lesson

* Build the exec image inspector in CI

* Document executable image inspection

* Handle re-exec chains in the image inspector

* Polish exec image inspector guidance

* Reduce exec inspector wait complexity

* Rewrite the egress pacer tutorial

* Rewrite the exec image inspector tutorial

* Polish the exec image inspector tutorial

* Correct the egress pacer tutorial

* Make the exec tutorial Chinese natural

* Fix egress tutorial prose checks

* Finish the exec tutorial style pass

* Clarify exec tutorial runtime evidence

* Polish exec tutorial scope wording

* Rewrite the egress pacer tutorial for readers

* Regenerate tutorial indexes

* Teach the egress pacer component by component

* Use standard Markdown in the egress tutorial

* Strengthen the egress pacer tutorial narrative

* jiji

* Use positive framing in the egress tutorial

* Rewrite the exec image inspector tutorial

* Rewrite the TCP quarantine tutorial

* Add the egress pacer lifecycle diagram

* Refresh TCP tutorial indexes

* Add the exec image inspection flow diagram

* Use one source directory link

* Rewrite the fsession latency tutorial

* Add fsession feature background

* Add BPF qdisc feature background

* Add TCP iterator feature background

* Add exec inspection feature background

* Require feature background in tutorial openings

* Polish fsession background prose

* Simplify repository tutorial skills

* Update exec inspector tooling revisions

* Restructure tutorials 51-54 following advanced guideline

- Update SKILL.md with strict section ordering and "why" requirements
- Rewrite README.zh.md for tutorials 51-54:
  - Add background sections explaining why traditional approaches fail
  - Move compilation/execution sections after code analysis
  - Add high-level mechanism explanation before code
  - Use paragraph style instead of bullet lists

* Consolidate skill guidelines and remove duplicates

- Update write-bpf-production-tutorial skill to reference 47, 48, 49
- Add structure requirements section with "Why" section emphasis
- Remove duplicate advanced-tutorial-guidelines.md (use scripts/guideline_advance.md instead)

* Rewrite English READMEs 51-54 to match Chinese structure

Restructure all four English tutorials to match their Chinese counterparts:
- Add "Why this approach is needed" sections explaining traditional limitations
- Add high-level mechanism sections before code
- Move compilation/execution sections after code analysis
- Add environment requirements tables
- Use consistent section ordering across all tutorials

* Regenerate TOC after tutorial title changes

Run generate_toc.py to sync SUMMARY and README files with
updated tutorial titles from the restructuring.

* Regenerate compatibility tables after title changes

---------

Co-authored-by: LinuxDev9002 <i@littlefisher.me>
2026-07-19 19:34:09 -07:00
云微
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
云微
e08f604769 Fix bilingual tutorial indexes and internal links (#209)
* Fix bilingual tutorial index generation

* Check relative Markdown links in CI

* Harden documentation regression checks

* Reduce link parser complexity

* Run link checks for every repository change

---------

Co-authored-by: LinuxDev9002 <i@littlefisher.me>
2026-07-14 04:10:51 -07:00
github-actions[bot]
8bfc912d6a docs: auto-generate documentation 2026-07-14 10:58:52 +00:00
云微
3a722c03d5 feat: add tcx and bpf token tutorials (#203)
* feat: add tcx and bpf token tutorials

* docs: auto-generate documentation

* docs: rewrite tcx and bpf_token tutorials with richer content and consistent style

Rewrote all 4 README files (EN/ZH for both tutorials) to match the
existing tutorial style with detailed background, full code listings,
step-by-step explanations, comparison tables, and proper references.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* style: replace em dashes with colons, commas, and parentheses

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: auto-generate documentation

* ci: add tcx and bpf_token builds to CI; simplify execl in token_userns_demo

- Add make targets for src/50-tcx and src/features/bpf_token to the
  test-libbpf CI workflow.
- Replace four separate execl() calls with a single execv() using a
  dynamically built argv array, reducing complexity and eliminating
  CodeFactor command-injection false positives.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* ci: fix mkdocs path in trigger-sync workflow

Use .venv/bin/mkdocs instead of bare mkdocs, since make install
puts it inside a virtualenv.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: LinuxDev9002 <linuxdev8883@example.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 21:23:23 -07:00
github-actions[bot]
ee6d522e40 docs: auto-generate documentation 2026-03-06 22:49:21 +00:00
github-actions[bot]
98682eed04 docs: auto-generate documentation 2026-02-01 00:34:59 +00:00
github-actions[bot]
c42ba4f9ab Add BPF dynptr TC demo implementation
- Implement BPF program for TC ingress using dynptrs to safely parse packet headers and manage variable-length ringbuf records.
- Create user-space loader for the BPF program, allowing configuration of blocked ports and snapshot lengths for TCP payloads.
- Define necessary data structures and constants in header file for both BPF and user-space contexts.
- Add a comprehensive test script to validate functionality, including basic packet capture and port blocking tests.
2026-02-01 00:34:43 +00:00
github-actions[bot]
2fa73cbe3f docs: auto-generate documentation 2026-01-31 05:55:36 +00:00
github-actions[bot]
342acab9af docs: Update README and SUMMARY files to include Intel NPU kernel driver lessons and cgroup policy control
feat: Enhance TOC generation script to include non-numbered directories with .config files
chore: Add .config file for cgroup-based policy control
2026-01-31 05:55:22 +00:00
github-actions[bot]
c1d56c531f docs: auto-generate documentation 2026-01-11 10:28:35 +00:00
github-actions[bot]
78bad8296c docs: auto-generate documentation 2025-11-10 18:31:03 +00:00
github-actions[bot]
81be963985 docs: auto-generate documentation 2025-11-04 06:14:12 +00:00
github-actions[bot]
635b478184 docs: auto-generate documentation 2025-10-06 05:57:30 +00:00
github-actions[bot]
7c335e2a23 docs: auto-generate documentation 2025-10-06 05:50:29 +00: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
marun
32180eaccd docs(uprobe): Correct probe type in bash readline example (#168)
* docs(uprobe): Correct probe type in bash readline example

* docs(readme): Fix broken links to example READMEs
2025-06-17 02:26:42 -07:00
officeyutong
80afe2aa34 add chinese doc for cuda 2025-05-24 18:21:26 +08:00
Gxliu
5e6225549b Update README.md (#156)
Add a line break to the “Github template” section.
2024-12-16 14:22:10 +09:00
Yusheng Zheng
d13c9927f9 remove depreciate CI 2024-10-20 20:35:05 +00:00
Yusheng Zheng
a09397b583 remove depreciate CI 2024-10-20 07:46:20 +00:00
Yusheng Zheng
63a5241bfa add 45 2024-10-20 07:20:38 +00: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
Yusheng Zheng
872fc7a3ab add sched 2024-10-20 07:20:38 +00:00
云微
fefd2679e0 Update README.md (#138) 2024-10-14 06:39:25 +01:00
云微
2f43c2ba2b Update README.md and add compile notice (#137) 2024-10-14 06:36:13 +01:00
云微
bbd7b1638d Add more XDP related blogs (#135)
* add setup

* update

* fix code

* move to dir

* fix code

* update the code

* update code of 42

* update 21

* update

* fix linter issues and add xdp in rust

* update the docker file

* fix CI

* fix kernel code

* update

* update

* add guidline
2024-09-26 01:15:42 +00:00
云微
2f3ed55972 Add More examples (#133)
* add goroutine text

* update

* fix funclatency

* update doc

* update about nginx

* update nginx

* u[date co

* fix compile

* update

* fix
2024-09-02 07:38:39 +01:00
tanjunchen
3a67878cff fix bug for 24-hide (#111) 2024-02-27 17:30:58 +01:00
yunwei37
e8274ed654 change the README lang to English 2024-02-03 09:57:06 +00:00
云微
4671af2739 Rust and BTF CO-RE for userspace (#103)
* add rust examples

* update btf

* update btf

* update docs
2024-01-26 03:33:17 +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
yunwei37
6a75e1f306 fix index link in website 2024-01-19 00:46:33 +00:00
yunwei37
406d9eae1e docs: add note for libbpf 2024-01-17 19:20:36 +00:00
yunwei37
3468fab36b Add some desc for userspace eBPF 2024-01-13 20:30:30 +00:00
yunwei37
cb8943f686 add blog about ebpf security 2023-11-16 21:42:46 +08:00
yunwei37
32e23bbed0 add example of 34 2023-10-16 16:55:29 +00:00
yunwei37
010e61c5f1 Update ch18 for paper lists 2023-10-09 11:26:38 +08:00
云微
426e993507 Add http and translate for signal (#73)
* use BPF_NO_GLOBAL_DATA

to avoid error on old kernel versions or libbpf versions,
use BPF_NO_GLOBAL_DATA

* add translate of replace

* add socket

* add socket http impl

* improve userspace program

* add desc for http

* update translate to eng

* add ci for 32
2023-09-18 11:22:49 +08:00
云微
05c7ec8213 Hightlight the English version in README.md 2023-09-03 22:35:16 +08:00
云微
82cd415d84 add translatefor sslsniff (#69) 2023-08-27 20:39:22 +08:00
云微
ef9a1d9b47 add English doc (#55)
* add english documents

* docs: add root english README
2023-08-08 15:55:55 +08:00
yunwei37
dd6d746da2 add the runqlat reasons 2023-06-03 06:18:02 +08:00
yunwei37
48fae08f08 fix replace code 2023-05-31 01:59:30 +08:00
yunwei37
eb292e2ab5 CI: fix deploy error 2023-05-30 20:28:21 +08:00
yunwei37
0ff4ea2f98 rename tcprtt to javagc 2023-05-30 20:28:21 +08:00