Tag

kernel debugging

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Jun 6, 2025 · Fundamentals

How eBPF Can Tackle Linux Memory Fragmentation and Boost Android Performance

This article explains the problem of internal and external memory fragmentation in Linux systems, introduces eBPF as a powerful tracing tool, and provides step‑by‑step guidance for building, loading, and running eBPF programs to analyze and mitigate fragmentation on both Linux and Android platforms.

Linux kernelandroidbpf
0 likes · 22 min read
How eBPF Can Tackle Linux Memory Fragmentation and Boost Android Performance
Deepin Linux
Deepin Linux
Apr 25, 2024 · Fundamentals

Understanding Linux System Calls: Mechanism, Debugging, and Implementation

This article explains how Linux system calls serve as the primary interface between user‑space programs and the kernel, describes the transition from user mode to kernel mode, and provides step‑by‑step debugging examples and source‑code snippets for x86_64 architectures.

assemblykernel debugginglinux
0 likes · 31 min read
Understanding Linux System Calls: Mechanism, Debugging, and Implementation
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 15, 2023 · Mobile Development

Using the crash Tool to Analyze Android Kernel Kdump Dumps

The article explains how to use the Linux crash utility for efficient, on‑demand analysis of Android Kdump dumps on MTK and Qualcomm devices, covering dump loading parameters, baseline data collection, stack back‑tracing, local variable recovery, thread searching, and why crash outperforms memory‑heavy tools like trace32.

Kdumpandroidcrash tool
0 likes · 29 min read
Using the crash Tool to Analyze Android Kernel Kdump Dumps
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Oct 14, 2022 · Operations

Understanding and Implementing Hungtask Detection in the Linux Kernel

The article explains Linux hung‑task detection, detailing both a system‑wide polling method that compares unchanged D‑state task context‑switch counts and a watchdog approach for critical processes, describes kernel implementations, analysis of real‑world hang cases, and emphasizes log analysis and parameter tuning to prevent system hangs.

androidhungtaskkernel debugging
0 likes · 14 min read
Understanding and Implementing Hungtask Detection in the Linux Kernel
Architects' Tech Alliance
Architects' Tech Alliance
May 12, 2017 · Fundamentals

Using KGDB for Linux Kernel and Module Debugging: Environment Setup and Step‑by‑Step Guide

This article provides a comprehensive tutorial on configuring KGDB on Linux, covering target and host machine preparation, kernel recompilation with debugging options, module installation, boot‑loader adjustments, and detailed remote‑gdb debugging procedures for both the kernel image and loadable modules.

GDBKGDBkernel debugging
0 likes · 10 min read
Using KGDB for Linux Kernel and Module Debugging: Environment Setup and Step‑by‑Step Guide