Tagged articles
9 articles
Page 1 of 1
Linux Kernel Journey
Linux Kernel Journey
Nov 19, 2025 · Fundamentals

How Tracepoint and kprobe Enable Precise Linux Kernel Source Tracing

This article explains the technical principles behind Linux kernel tracing, covering static tracepoints and dynamic kprobes, demonstrating their use with ftrace and perf, and detailing the underlying macro implementations and low‑level mechanisms that make kernel source tracking possible.

KprobeLinux tracingftrace
0 likes · 20 min read
How Tracepoint and kprobe Enable Precise Linux Kernel Source Tracing
Big Data Technology Tribe
Big Data Technology Tribe
Jun 11, 2025 · Fundamentals

Mastering eBPF with BCC: A Step‑by‑Step Guide to Building the opensnoop Tool

This article outlines the standard BCC workflow for creating eBPF tools, then dissects the opensnoop source code, covering requirement analysis, kernel‑space program writing, BPF map configuration, user‑space Python integration, argument handling, testing, optimization, and deployment steps to monitor open system calls.

BCCLinux tracingPython
0 likes · 13 min read
Mastering eBPF with BCC: A Step‑by‑Step Guide to Building the opensnoop Tool
Linux Kernel Journey
Linux Kernel Journey
Dec 24, 2024 · Operations

How to Use tcpw with eBPF to Capture Curl’s Five‑Tuple Information

This article introduces tcpw, a small eBPF‑based utility that traces TCP, UDP, and Unix‑domain sockets to display the five‑tuple of commands like curl or telnet, explains its command‑line options, shows concrete usage examples, and details the underlying BPF and Go implementation, including connect, accept, and fork tracing.

GoLinux tracingaccept
0 likes · 8 min read
How to Use tcpw with eBPF to Capture Curl’s Five‑Tuple Information
Linux Kernel Journey
Linux Kernel Journey
Oct 2, 2024 · Operations

eBPF Tutorial 36: Tracing Nginx Requests with bpftrace

This tutorial shows how to use eBPF, bpftrace, and the funclatency tool to instrument key Nginx functions, measure their execution latency, analyze the distribution of request processing times, and identify performance bottlenecks for optimization.

Linux tracingNginxPerformance Monitoring
0 likes · 9 min read
eBPF Tutorial 36: Tracing Nginx Requests with bpftrace
Liangxu Linux
Liangxu Linux
Jan 23, 2022 · Operations

Master Linux Tracing with bpftrace: Install, Run, and Explore Built‑in Tools

bpftrace is a Linux eBPF‑based tracing tool that compiles scripts to BPF bytecode, offering kernel and user‑space probes; the guide covers its purpose, installation on major distros and Docker, and demonstrates built‑in example scripts for command logging, I/O latency, disk size, CPU usage, and TCP connection tracing.

Linux tracingPerformance Monitoringbpftrace
0 likes · 7 min read
Master Linux Tracing with bpftrace: Install, Run, and Explore Built‑in Tools
Programmer DD
Programmer DD
Jan 7, 2019 · Backend Development

Why Did My Spring Boot Service Consume 7 GB? Uncovering Native Memory Leaks

This article walks through a real‑world investigation of excessive native memory usage in a Spring Boot application, detailing JVM settings, Linux‑level tracing, custom memory allocators, and the root cause in Spring Boot’s ZipInflaterInputStream, ultimately providing a fix and best‑practice recommendations.

JVMLinux tracingNative Memory
0 likes · 11 min read
Why Did My Spring Boot Service Consume 7 GB? Uncovering Native Memory Leaks