Tagged articles
11 articles
Page 1 of 1
Linux Kernel Journey
Linux Kernel Journey
Nov 19, 2025 · Fundamentals

How Tracepoint and kprobe Enable Precise Linux Kernel Source Tracing

This article explains the technical principles behind Linux kernel tracing, covering static tracepoints and dynamic kprobes, demonstrating their use with ftrace and perf, and detailing the underlying macro implementations and low‑level mechanisms that make kernel source tracking possible.

KprobeLinux tracingftrace
0 likes · 20 min read
How Tracepoint and kprobe Enable Precise Linux Kernel Source Tracing
Linux Kernel Journey
Linux Kernel Journey
Oct 31, 2024 · Information Security

A New Perspective on eBPF Security: Auditing Complex Attack Techniques

This article demonstrates how to use eBPF to audit fileless command‑execution attacks and reverse‑shell techniques by tracing memfd_create, Kprobe/LSM hooks, dup2 redirections, and related kernel functions, providing concrete code examples and analysis of the detection logic.

KprobeLSMLinux security
0 likes · 18 min read
A New Perspective on eBPF Security: Auditing Complex Attack Techniques
Linux Code Review Hub
Linux Code Review Hub
Oct 29, 2024 · Information Security

How to Audit and Intercept File Read/Write Operations Using eBPF

This guide explains how to leverage eBPF’s Kprobe, Tracepoint, and LSM features to audit file read/write activity, extract process and file details, and optionally block operations using helpers like bpf_send_signal or bpf_override_return, with complete code examples and configuration steps.

File AuditingKprobeLSM
0 likes · 17 min read
How to Audit and Intercept File Read/Write Operations Using eBPF
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.

KprobeLinuxRing Buffer
0 likes · 15 min read
Understanding the ftrace Architecture: Ring Buffer, Tracers, and Trace Events in the Linux Kernel
Open Source Linux
Open Source Linux
Sep 27, 2023 · Fundamentals

Master Linux Kernel Debugging: Tools, Filesystems, and Tracing Techniques

This article provides a comprehensive overview of Linux kernel debugging, covering core tools such as printk, ftrace, trace‑cmd, kprobe, systemtap, kgdb, kgtp, perf, as well as pseudo filesystems like procfs, sysfs, debugfs and relayfs, and introduces additional tracers including LTTng, eBPF, Ktap, dtrace4linux, OL DTrace and sysdig.

KGDBKprobeLinux
0 likes · 28 min read
Master Linux Kernel Debugging: Tools, Filesystems, and Tracing Techniques