mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-02-11 06:05:19 +08:00
- Introduced BPF workqueues to enable asynchronous work from BPF programs, allowing deferred processing, non-blocking operations, and sleepable contexts for long-running tasks. - Added README.md to document the BPF workqueues, including use cases, technical architecture, and code examples. - Created bpf_experimental.h header file to define necessary BPF workqueue functions and structures. - Implemented a simple BPF workqueue example (wq_simple) demonstrating the initialization, scheduling, and execution of work in a separate context. - Developed a userspace test (wq_simple.c) to verify the functionality of the BPF workqueue by triggering a syscall and checking the execution results.
13 lines
107 B
Plaintext
13 lines
107 B
Plaintext
# Build artifacts
|
|
.output/
|
|
*.o
|
|
*.skel.h
|
|
|
|
# Generated binaries
|
|
task_stack
|
|
|
|
# Editor files
|
|
*.swp
|
|
*~
|
|
.vscode/
|