Tag

Kernel Tracing

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Jan 18, 2025 · Operations

Understanding Linux Kernel Tracing Mechanisms: Probes, Tracepoints, Kprobes, Uprobes, and Ftrace

This article provides a comprehensive overview of Linux kernel tracing mechanisms—including probes, tracepoints, kprobes, uprobes, and ftrace—explaining their principles, implementation details, practical tools, and real‑world case studies for performance optimization, fault diagnosis, and security monitoring.

Kernel TracingKprobesLinux
0 likes · 36 min read
Understanding Linux Kernel Tracing Mechanisms: Probes, Tracepoints, Kprobes, Uprobes, and Ftrace
Deepin Linux
Deepin Linux
Dec 21, 2024 · Fundamentals

Introduction to ftrace and Its Practical Usage for Linux Kernel Tracing

This article provides a comprehensive overview of ftrace, explaining its architecture, tracer types, configuration steps, and practical usage examples for debugging, performance analysis, and kernel development on Linux systems.

Kernel TracingLinuxPerformance analysis
0 likes · 46 min read
Introduction to ftrace and Its Practical Usage for Linux Kernel Tracing
Deepin Linux
Deepin Linux
Jan 10, 2024 · Fundamentals

Understanding the ftrace Architecture: Ring Buffer, Tracers, and Trace Events in the Linux Kernel

This article explains the Linux kernel ftrace architecture, covering ring buffer principles and code, tracer implementations (function, function_graph, irq_off), trace events, dynamic and static instrumentation, and kprobe mechanisms, illustrating how tracing is integrated, managed, and optimized for various execution contexts.

Kernel TracingLinuxRing Buffer
0 likes · 15 min read
Understanding the ftrace Architecture: Ring Buffer, Tracers, and Trace Events in the Linux Kernel
Tencent Architect
Tencent Architect
Jan 2, 2024 · Operations

Mastering eBPF: Install, Write Hello World, and Explore Advanced Examples

This article guides you through installing BCC, creating simple and complex eBPF programs with C and Python, explains eBPF architecture, source‑code organization, and demonstrates real‑world tracing examples for kernel diagnostics and performance monitoring.

BCCKernel TracingLinux
0 likes · 12 min read
Mastering eBPF: Install, Write Hello World, and Explore Advanced Examples
Didi Tech
Didi Tech
Aug 3, 2023 · Cloud Native

eBPF-Based Cross-Language Non-Intrusive Traffic Recording for Cloud-Native Services

The article describes an eBPF‑based, language‑agnostic traffic recording framework that hooks low‑level socket operations and thread identifiers to capture complete request‑response flows across Java, PHP, and Go services without modifying application code, dramatically lowering implementation and maintenance costs for cloud‑native traffic replay.

GoKernel TracingObservability
0 likes · 15 min read
eBPF-Based Cross-Language Non-Intrusive Traffic Recording for Cloud-Native Services
Didi Tech
Didi Tech
Jul 4, 2023 · Cloud Native

eBPF Technology and Its Application in Didi's Cloud-Native Observability: HuaTuo Platform Practice

eBPF, a safe, high‑performance Linux kernel extension evolving from the 1993 Berkeley Packet Filter to modern dynamic tracing, underpins Didi’s HuaTuo platform, which consolidates bytecode management, fast data processing, stability self‑healing, and container insight to solve traffic replay, topology, security, and root‑cause analysis challenges across cloud‑native services, with plans to broaden business use and community collaboration.

Container SecurityHuaTuoKernel Tracing
0 likes · 12 min read
eBPF Technology and Its Application in Didi's Cloud-Native Observability: HuaTuo Platform Practice
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Aug 5, 2022 · Operations

Understanding Linux ftrace Function Graph Tracer on ARM64

The article details how Linux’s function‑graph ftrace tracer works on ARM64, explaining required kernel configs, how -pg inserts _mcount calls, the runtime patching of ftrace_graph_caller, register usage for argument passing, and return handling, and why shadow‑call‑stack must be disabled to enable precise call‑graph and timing analysis.

ARM64Kernel TracingLinux
0 likes · 10 min read
Understanding Linux ftrace Function Graph Tracer on ARM64