
Install perf and Profile Your First Program
Install perf from your distribution, check it matches the kernel, then run perf stat and perf record on a small C program to see where time goes.
Everything you need to level up your coding skills.

Install perf from your distribution, check it matches the kernel, then run perf stat and perf record on a small C program to see where time goes.

BitBake is the build engine, OpenEmbedded-Core holds the recipes, and Poky is the reference bundle that ties them together. Here is how the three fit.

Assembly is a readable spelling of machine code, one line per instruction. See what it is, how to view it for any C function, and when reading it pays off.

Eclipse ThreadX is a small real-time kernel that began at Express Logic, became Azure RTOS, and moved to the Eclipse Foundation under an open license in 2023.

Create a child process in C with fork on Linux, tell parent from child by the return value, and avoid the mistakes that run code twice.

Copy .data from flash and zero .bss in a Cortex-M reset handler without bugs: alignment, the memset trap, empty sections and a debugger check to run.

Register, use and release an interrupt handler with request_irq and free_irq in a Linux 6.12 platform driver, with flags, return codes and common errors.

Learn how Vulkan differs from OpenGL in state, command recording, memory, synchronization and validation, and whether a beginner should learn it first.

Compile a Verilog counter with Icarus Verilog 12, run it with vvp, dump a VCD file and read the waveform in GTKWave, from one empty directory.

Prepare a Linux machine for KVM and QEMU work as a normal user: packages, the kvm group, headers, tracing access and a smoke test, with no sudo for daily use.

Declare a logging function with __attribute__((format(printf, ...))) so GCC and Clang check each call's format and arguments, and pair it with vsnprintf.

Word size is the native width of a CPU's registers and addresses. See what 32-bit and 64-bit change for pointers and long, with a C program and its output.
We send one email when a new post is published. No spam.