Skip to content

Commit deebac0

Browse files
author
wangyazhou
committed
添加配置
1 parent 74a9f20 commit deebac0

File tree

2 files changed

+11
-22
lines changed

2 files changed

+11
-22
lines changed

.obsidian/workspace.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
"state": {
4242
"type": "markdown",
4343
"state": {
44-
"file": "k8s/kubernetes.md",
44+
"file": "eBPF/ebpf.md",
4545
"mode": "source",
4646
"source": false
4747
},
4848
"icon": "lucide-file",
49-
"title": "kubernetes"
49+
"title": "ebpf"
5050
}
5151
}
5252
],
@@ -123,7 +123,7 @@
123123
"state": {
124124
"type": "backlink",
125125
"state": {
126-
"file": "k8s/kubernetes.md",
126+
"file": "eBPF/ebpf.md",
127127
"collapseAll": false,
128128
"extraContext": false,
129129
"sortOrder": "alphabetical",
@@ -133,7 +133,7 @@
133133
"unlinkedCollapsed": true
134134
},
135135
"icon": "links-coming-in",
136-
"title": "kubernetes 的反向链接列表"
136+
"title": "ebpf 的反向链接列表"
137137
}
138138
},
139139
{
@@ -171,13 +171,13 @@
171171
"state": {
172172
"type": "outline",
173173
"state": {
174-
"file": "k8s/kubernetes.md",
174+
"file": "eBPF/ebpf.md",
175175
"followCursor": false,
176176
"showSearch": false,
177177
"searchQuery": ""
178178
},
179179
"icon": "lucide-list",
180-
"title": "kubernetes 的大纲"
180+
"title": "ebpf 的大纲"
181181
}
182182
}
183183
],
@@ -200,8 +200,10 @@
200200
},
201201
"active": "b7d07db209d422b0",
202202
"lastOpenFiles": [
203-
"containerd/docker.md",
203+
"eBPF/bpftrace.md",
204+
"eBPF/ebpf.md",
204205
"k8s/kubernetes.md",
206+
"containerd/docker.md",
205207
"架构/架构设计.md",
206208
"calico/calico.md",
207209
"go/go_module.md",
@@ -222,8 +224,6 @@
222224
"k8s/kube_prometheus.md",
223225
"k8s/harbor.md",
224226
"go/go.md",
225-
"eBPF/ebpf.md",
226-
"eBPF/bpftrace.md",
227227
"eBPF/bcc.md",
228228
"calico/calicoctl.md",
229229
"k8s/attachments/Pasted image 20250430202140.png",

eBPF/ebpf.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
1-
:toc:
21

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
133

144
![[image-2025-02-11-09-36-02-105.png]]
155

@@ -41,7 +31,7 @@ eBPF 并不是万能的,它也有很多的局限性。下面是一些最常见
4131
.通过BCC学习eBPF
4232
![[image-2025-02-11-10-47-16-135.png]]
4333

44-
=== 开发一个eBPF程序
34+
### 开发一个eBPF程序
4535

4636
- 第一步,使用 C 语言开发一个 eBPF 程序;
4737
- 第二步,借助 LLVM 把 eBPF 程序编译成 BPF 字节码;
@@ -969,7 +959,6 @@ perf trace --no-syscalls -e 'net:*' curl -s time.geekbang.org > /dev/null
969959
970960
971961
972-
973962
## 容器安全:如何使用 eBPF 增强容器安全?
974963
975964
故障诊断、网络优化、安全控制、性能监控等,都已是 eBPF 的主战场

0 commit comments

Comments
 (0)