Tag

ftrace

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Mar 31, 2025 · Fundamentals

Understanding and Using Ftrace for Linux Kernel Tracing

This article provides a comprehensive guide to Linux's ftrace tool, explaining its purpose, various tracers, how to set up and use it via debugfs, detailed command examples, implementation details, practical use cases for performance tuning and debugging, and a comparison with other tracing utilities.

Linux KernelPerformance analysisSystem Tracing
0 likes · 40 min read
Understanding and Using Ftrace for Linux Kernel Tracing
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
Deepin Linux
Deepin Linux
Oct 19, 2023 · Fundamentals

Comprehensive Guide to Linux Kernel ftrace: Concepts, Usage, and Case Studies

This article provides an in‑depth overview of the Linux kernel ftrace tracing tool, explaining its architecture, components, configuration steps, various tracers, and practical examples for performance analysis, debugging, and system behavior monitoring.

Linux KernelPerformance analysisdebugging
0 likes · 29 min read
Comprehensive Guide to Linux Kernel ftrace: Concepts, Usage, and Case Studies
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
360 Smart Cloud
360 Smart Cloud
Mar 4, 2021 · Operations

Understanding Linux Tracing Systems: Data Sources, Collection Mechanisms, and Front‑ends

This article explains how Linux tracing tools such as kprobes, uprobes, tracepoints, eBPF, perf, ftrace, sysdig, SystemTap and LTTng fit together, describing their data sources, collection mechanisms and front‑ends, and offers guidance on choosing the right tool for low‑overhead debugging and performance analysis.

KprobesLinux tracingeBPF
0 likes · 16 min read
Understanding Linux Tracing Systems: Data Sources, Collection Mechanisms, and Front‑ends