Linux Kernel Journey
Author

Linux Kernel Journey

Linux Kernel Journey

125
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Linux Kernel Journey

100 recent articles max
Linux Kernel Journey
Linux Kernel Journey
Dec 2, 2024 · Operations

Getting Started with rtla timerlat: Cross‑Compilation and Usage Guide

This article introduces rtla timerlat, a Linux scheduling‑latency analysis tool that breaks latency into detailed phases, explains how to cross‑compile its libtracefs and libtraceevent dependencies, compile the tool, enable the kernel timerlat tracer, configure common parameters, and run a typical command with sample output.

Linuxcross-compilationkernel tracing
0 likes · 11 min read
Getting Started with rtla timerlat: Cross‑Compilation and Usage Guide
Linux Kernel Journey
Linux Kernel Journey
Nov 30, 2024 · Fundamentals

How a SIGPIPE Signal Crashed Our Service and the Fix We Applied

During a gray‑release, a Go‑Rust service repeatedly crashed when a dependent process was hot‑upgraded; the root cause was an unhandled SIGPIPE signal generated by the kernel on a broken TCP connection, which terminated the process without a core dump, and the article explains the kernel mechanics and the solution of ignoring SIGPIPE.

GoLinux signalsRust
0 likes · 16 min read
How a SIGPIPE Signal Crashed Our Service and the Fix We Applied
Linux Kernel Journey
Linux Kernel Journey
Nov 25, 2024 · Fundamentals

Simulating MDIO Communication with GPIO on Linux

This guide explains why and how to implement MDIO over GPIO on a Linux system, covering MDIO fundamentals, Clause22/Clause45 frame structures, YT8521 PHY pinout, required kernel drivers, device‑tree configuration, log verification, and command‑line usage.

Device TreeEmbedded LinuxEthernet PHY
0 likes · 8 min read
Simulating MDIO Communication with GPIO on Linux
Linux Kernel Journey
Linux Kernel Journey
Nov 20, 2024 · Operations

eBPF Talk: Who Modified My BPF Map?

This article demonstrates how to use eBPF together with BTF to trace BPF map update and delete functions, shows concrete command‑line output, explains the code that identifies target kernel functions, and details the data‑dumping logic for debugging map contents.

BPF mapBTFdebugging
0 likes · 8 min read
eBPF Talk: Who Modified My BPF Map?
Linux Kernel Journey
Linux Kernel Journey
Nov 14, 2024 · Artificial Intelligence

Deep Dive: How DeepFlow Collects Business Metrics for Large‑Model Services

This article explains how China Mobile built a hybrid‑cloud production environment for its customer‑service LLM, using eBPF and WebAssembly plugins from DeepFlow to achieve zero‑intrusion observability, automatically capture full‑stack topology, application/network metrics, and key LLM business indicators such as TTFT, TPOT, and token throughput.

DeepFlowGrafanaLLM
0 likes · 19 min read
Deep Dive: How DeepFlow Collects Business Metrics for Large‑Model Services
Linux Kernel Journey
Linux Kernel Journey
Nov 12, 2024 · Operations

eBPF Talk: Fixing a 7‑Year‑Old Bug in bpftool

The article details how a long‑standing bug that displayed incorrect call‑address information in bpftool’s JIT disassembly was reproduced, analyzed, and fixed by correcting the PC parameter to use the function’s kernel symbol address, with patches applied to both LLVM and libbfd back‑ends.

LLVMbpftooldisassembly
0 likes · 9 min read
eBPF Talk: Fixing a 7‑Year‑Old Bug in bpftool
Linux Kernel Journey
Linux Kernel Journey
Nov 7, 2024 · Information Security

Using eBPF to Protect, Detect, and Audit Malicious eBPF Programs

The article analyzes how attackers can abuse eBPF to steal data, elevate privileges, execute commands, and hide processes, then presents concrete eBPF code for such attacks and outlines practical protection, detection, and auditing techniques—including file analysis, bpftool usage, and kernel tracing—to mitigate these threats.

bpftooleBPFkernel security
0 likes · 27 min read
Using eBPF to Protect, Detect, and Audit Malicious eBPF Programs
Linux Kernel Journey
Linux Kernel Journey
Nov 5, 2024 · Artificial Intelligence

Understanding AI Flame Graphs: Insights from Brendan Gregg

The article introduces Intel's AI Flame Graph, a low‑overhead profiling tool that visualizes AI accelerator and GPU workloads across the full software stack, explains its design, demonstrates SYCL matrix‑multiply benchmarks, discusses challenges of AI instruction analysis, and outlines future adoption and impact.

AI profilingGPUIntel
0 likes · 16 min read
Understanding AI Flame Graphs: Insights from Brendan Gregg
Linux Kernel Journey
Linux Kernel Journey
Nov 3, 2024 · Fundamentals

Linux Kernel Source Walkthrough: The Five Core Subsystems

This article explains the Linux kernel architecture, breaks it into three layers and five key subsystems—process scheduling, memory management, virtual file system, network interface, and inter‑process communication—detailing their responsibilities, inter‑dependencies, and providing concrete code examples and diagrams.

IPCLinuxkernel
0 likes · 29 min read
Linux Kernel Source Walkthrough: The Five Core Subsystems