mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-04-13 17:50:18 +08:00
Deploying to gh-pages from @ eunomia-bpf/bpf-developer-tutorial@b7be8a114d 🚀
This commit is contained in:
@@ -207,7 +207,7 @@
|
||||
<h3 id="1-数据结构定义-signalh"><a class="header" href="#1-数据结构定义-signalh">1. 数据结构定义 (<code>signal.h</code>)</a></h3>
|
||||
<p>signal.h</p>
|
||||
<pre><code class="language-c">// Simple message structure to get events from eBPF Programs
|
||||
// in the kernel to user spcae
|
||||
// in the kernel to user space
|
||||
#define TASK_COMM_LEN 16
|
||||
struct event {
|
||||
int pid;
|
||||
|
||||
Reference in New Issue
Block a user