
Attach strace to an Already Running Process
Attach strace -p to a process that is already running on Linux, fix the Yama ptrace_scope permission error, watch a stuck call, then detach without killing it.
Tag
445 posts

Attach strace -p to a process that is already running on Linux, fix the Yama ptrace_scope permission error, watch a stuck call, then detach without killing it.

Learn assembly language on the 6502 and Z80, from registers and flags to loops, 16-bit math, subroutines, interrupts and tooling, with worked programs for each.

Learn FreeRTOS queues, stream buffers and message buffers: when to use each, ISR sends, sizing, pointer ownership, patterns and the failures that lose data.

A guide to shared memory, semaphores and message queues on Linux: POSIX and System V APIs, layout, locking, robust mutexes, crash recovery, limits and cleanup.

Learn low-power firmware from the energy model to sleep modes, clocks, pins, wake-up sources, measurement and battery budgets, with a complete STM32 example.

Learn how UART, SPI, I2C, APB, Wishbone, AXI4-Lite, AXI4 and AXI-Stream move data on wires and inside chips, with Verilog for each and a way to choose.

Learn to write a CPU emulator in C from nothing: registers, memory, the fetch-decode-execute loop, flags, timing, devices, testing and a path to RISC-V.

A complete guide to IEEE 754 floating point: formats, encoding, rounding, error, exceptions, FMA and compiler flags, with C code and exact output.

Learn OpenMP in C from the first parallel loop to tasks, SIMD, thread binding and GPU offload, with worked programs, exact output and common mistakes.

A beginner guide to JCL on z/OS 3.1: job flow in JES2, JOB, EXEC and DD statements, datasets, utilities, procedures, conditions, output and failures.

Measure C, C++, Rust and Go the right way: clocks, optimizer barriers, warm-up, statistics, environment control, frameworks and reporting, with working code.

How an RTOS works on a microcontroller: tasks, scheduling, interrupts, queues, mutexes, memory and timing, with FreeRTOS code and a route through the series.