File tree Expand file tree Collapse file tree 2 files changed +11
-22
lines changed Expand file tree Collapse file tree 2 files changed +11
-22
lines changed Original file line number Diff line number Diff line change 41
41
"state" : {
42
42
"type" : " markdown" ,
43
43
"state" : {
44
- "file" : " k8s/kubernetes .md" ,
44
+ "file" : " eBPF/ebpf .md" ,
45
45
"mode" : " source" ,
46
46
"source" : false
47
47
},
48
48
"icon" : " lucide-file" ,
49
- "title" : " kubernetes "
49
+ "title" : " ebpf "
50
50
}
51
51
}
52
52
],
123
123
"state" : {
124
124
"type" : " backlink" ,
125
125
"state" : {
126
- "file" : " k8s/kubernetes .md" ,
126
+ "file" : " eBPF/ebpf .md" ,
127
127
"collapseAll" : false ,
128
128
"extraContext" : false ,
129
129
"sortOrder" : " alphabetical" ,
133
133
"unlinkedCollapsed" : true
134
134
},
135
135
"icon" : " links-coming-in" ,
136
- "title" : " kubernetes 的反向链接列表"
136
+ "title" : " ebpf 的反向链接列表"
137
137
}
138
138
},
139
139
{
171
171
"state" : {
172
172
"type" : " outline" ,
173
173
"state" : {
174
- "file" : " k8s/kubernetes .md" ,
174
+ "file" : " eBPF/ebpf .md" ,
175
175
"followCursor" : false ,
176
176
"showSearch" : false ,
177
177
"searchQuery" : " "
178
178
},
179
179
"icon" : " lucide-list" ,
180
- "title" : " kubernetes 的大纲"
180
+ "title" : " ebpf 的大纲"
181
181
}
182
182
}
183
183
],
200
200
},
201
201
"active" : " b7d07db209d422b0" ,
202
202
"lastOpenFiles" : [
203
- " containerd/docker.md" ,
203
+ " eBPF/bpftrace.md" ,
204
+ " eBPF/ebpf.md" ,
204
205
" k8s/kubernetes.md" ,
206
+ " containerd/docker.md" ,
205
207
" 架构/架构设计.md" ,
206
208
" calico/calico.md" ,
207
209
" go/go_module.md" ,
222
224
" k8s/kube_prometheus.md" ,
223
225
" k8s/harbor.md" ,
224
226
" go/go.md" ,
225
- " eBPF/ebpf.md" ,
226
- " eBPF/bpftrace.md" ,
227
227
" eBPF/bcc.md" ,
228
228
" calico/calicoctl.md" ,
229
229
" k8s/attachments/Pasted image 20250430202140.png" ,
Original file line number Diff line number Diff line change 1
- :toc:
2
1
3
- // 保证所有的目录层级都可以正常显示图片
4
- :path: eBPF/
5
- :imagesdir: ../image/
6
-
7
- // 只有book调用的时候才会走到这里
8
- ifdef::rootpath]]
9
- :imagesdir: {rootpath}{path}{imagesdir}
10
- endif::rootpath]]
11
-
12
- == eBPF
2
+ ## eBPF
13
3
14
4
![ [ image-2025-02-11-09-36-02-105.png]]
15
5
@@ -41,7 +31,7 @@ eBPF 并不是万能的,它也有很多的局限性。下面是一些最常见
41
31
.通过BCC学习eBPF
42
32
![ [ image-2025-02-11-10-47-16-135.png]]
43
33
44
- === 开发一个eBPF程序
34
+ ### 开发一个eBPF程序
45
35
46
36
- 第一步,使用 C 语言开发一个 eBPF 程序;
47
37
- 第二步,借助 LLVM 把 eBPF 程序编译成 BPF 字节码;
@@ -969,7 +959,6 @@ perf trace --no-syscalls -e 'net:*' curl -s time.geekbang.org > /dev/null
969
959
970
960
971
961
972
-
973
962
# # 容器安全:如何使用 eBPF 增强容器安全?
974
963
975
964
故障诊断、网络优化、安全控制、性能监控等,都已是 eBPF 的主战场
You can’t perform that action at this time.
0 commit comments