Skip to content

Commit b38951e

Browse files
committed
bpftrace: finish chapter
Signed-off-by: Lorenzo Fontana <[email protected]>
1 parent 640cac0 commit b38951e

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

content/bpftrace/501-bpftrace.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,19 @@ weight: 501
77

88
On GitHub https://github.com/iovisor/bpftrace
99

10-
- Built from the ground-up for BPF and Linux
11-
- Used in production at Netflix, Facebook, etc
12-
- Custom one-liners
13-
- Tools
10+
*What it is*:
11+
12+
- Higher level language to write eBPF programs;
13+
- Built from the ground-up for BPF and Linux;
14+
- Used in production at Netflix, Facebook, etc;
15+
- Custom one-liners;
16+
- Comes with tools;
17+
- It is just for tracing;
18+
19+
*What it is NOT*:
20+
21+
- A framework to build your loaders;
22+
- You can't do classic bpf with it (like seccomp programs or socket probe types);
23+
- It does not support traffic control and XDP;
1424

1525

content/bpftrace/598-takeaways.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
---
3+
title: "bpftrace-credits"
4+
weight: 599
5+
---
6+
7+
# Takeaways
8+
9+
- There's an higher level language to use eBPF, called `bpftrace`;
10+
- `bpftrace` can be used only for eBPF based tracing;
11+
- It's pretty magic;
12+
- There are a **LOT** of premade tools you can use in the `bpftrace/tools` folder, saves a lot of time;

0 commit comments

Comments
 (0)