Linux Kernel Journey
Linux Kernel Journey
Dec 21, 2024 · Fundamentals

Identify the Most Time‑Consuming Process Functions with eBPF

This tutorial shows how to use an eBPF program with the PERF_EVENT type to trace kernel activity, collect samples via performance counters, and pinpoint which processes and functions consume the most execution time, covering dynamic tracing concepts and overflow handling.

Linux profilingPerformance Monitoringdynamic tracing
0 likes · 3 min read
Identify the Most Time‑Consuming Process Functions with eBPF
MaGe Linux Operations
MaGe Linux Operations
Apr 5, 2018 · Operations

Master Linux Performance Tuning with Perf: From Basics to Advanced Profiling

This article introduces Linux’s built‑in Perf tool, explains its architecture and hardware counters, walks through practical examples—including basic commands, statistical summaries, real‑time monitoring, and detailed call‑graph analysis—while providing C code samples and visual illustrations to help developers pinpoint and optimize performance bottlenecks.

CPU optimizationLinux profilingperf
0 likes · 23 min read
Master Linux Performance Tuning with Perf: From Basics to Advanced Profiling