TutorialsThe cachestat() Syscall: Reading Linux Page-Cache Stats from User Space
The cachestat syscall, added in Linux 6.5, reports page-cache residency for a file from user space. Call it with a worked C…
Articles in this topic.
TutorialsThe cachestat syscall, added in Linux 6.5, reports page-cache residency for a file from user space. Call it with a worked C…
TutorialsHow to build an embedded Linux lab: from QEMU to a first board, serial console, and logic analyzer, and the skill each…
TutorialsUse dynamic debug to switch on pr_debug and dev_dbg messages in a running Linux kernel, without rebuilding or rebooting.
TutorialsDecode a kernel oops down to the exact source line: a reproducible tutorial using dmesg, faddr2line, decode_stacktrace.sh and gdb on a test…
TutorialsRead a kernel oops like evidence, not an answer: decode the header, the faulting-address fingerprint, and the unreliable call-trace frames by eye.
TutorialsSet SCHED_FIFO priorities with chrt and configure CPU isolation with isolcpus and nohz_full so a real-time task runs with minimal interference.
TutorialsControl GPIO with libgpiod using the version 2 tools and C API. Hands-on examples with gpioget, gpioset, gpiomon, and a virtual gpio-mockup…
TutorialsBuild a PREEMPT_RT kernel from mainline 6.12 source, boot it, and re-run cyclictest to compare real-time latency against a standard kernel baseline.
TutorialsA hands-on guide to function tracing with ftrace: mount tracefs, run the function and function_graph tracers, filter functions, and read timed call…
TutorialsLearn to measure PREEMPT_RT latency on Linux with cyclictest: what real-time means, how to run the test correctly, and how to read…
One email every two weeks — the best of our kernel & embedded writing, plus a hand-picked link or two. No spam.
// 1,200+ embedded engineers already read it
We email occasionally and never share your address.