mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-11-01 13:15:01 +08:00
Refactor test output in arena_list.c to remove redundant print statements
- Removed unnecessary print statements for arena sum and number of elements in the test_arena_list_add_del function. - Simplified output to focus on essential test results, improving clarity and conciseness of the test logs.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# eBPF Tutorial by Example: BPF Workqueues for Asynchronous Sleepable Tasks
|
||||
# eBPF Tutorial: BPF Workqueues for Asynchronous Sleepable Tasks
|
||||
|
||||
Ever needed your eBPF program to sleep, allocate memory, or wait for device I/O? Traditional eBPF programs run in restricted contexts where blocking operations crash the system. But what if your HID device needs timing delays between injected key events, or your cleanup routine needs to sleep while freeing resources?
|
||||
|
||||
@@ -236,7 +236,7 @@ The fundamental trade-off is latency vs capability. Timers have lower latency bu
|
||||
Navigate to the bpf_wq directory and build:
|
||||
|
||||
```bash
|
||||
cd /home/yunwei37/workspace/bpf-developer-tutorial/src/features/bpf_wq
|
||||
cd bpf-developer-tutorial/src/features/bpf_wq
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user