mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-06-30 08:56:31 +08:00
Fix some syntax errors and add 17 (#62)
* update link to our website * rename english title * add biopattern * fix too long titles * fix syntax error * fix syntax error * fix intend
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# eBPF Introduction Tutorial 15: Capturing User-Space Java GC Event Duration Using USDT
|
||||
# eBPF Tutorial by Example 15: Capturing User-Space Java GC Event Duration Using USDT
|
||||
|
||||
eBPF (Extended Berkeley Packet Filter) is a powerful network and performance analysis tool widely used in the Linux kernel. eBPF allows developers to dynamically load, update, and run user-defined code without the need to restart the kernel or modify the kernel source code. This feature provides eBPF with high flexibility and performance, making it widely applicable in network and system performance analysis. Furthermore, eBPF also supports capturing user-space application behavior using User-Level Statically Defined Tracing (USDT).
|
||||
|
||||
In this article of our eBPF introduction tutorial series, we will explore how to use eBPF and USDT to capture and analyze the duration of Java garbage collection (GC) events.
|
||||
In this article of our eBPF Tutorial by Example series, we will explore how to use eBPF and USDT to capture and analyze the duration of Java garbage collection (GC) events.
|
||||
|
||||
## Introduction to USDT
|
||||
|
||||
@@ -98,10 +98,9 @@ struct {
|
||||
} data_map SEC(".maps");
|
||||
|
||||
struct {
|
||||
__uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
|
||||
``````cpp
|
||||
__type(key, int);
|
||||
__type(value, int);
|
||||
__uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY)
|
||||
__type(key, int);
|
||||
__type(value, int);
|
||||
} perf_map SEC(".maps");
|
||||
|
||||
__u32 time;
|
||||
|
||||
Reference in New Issue
Block a user