Resolving Error Codes

What the heck does “error -19” means? Ever asked yourself or some mailing list this question? Here is a script (I called it errno) to answer this automatically: #!/bin/sh ERRNO_HEADERS=”/usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h” if [ “$1” = “” ]; then ERR=”[[:digit:]]+” else ERR=$1 fi cat $ERRNO_HEADERS | grep -E “[[:space:]]$ERR[[:space:]]/” Now, when …

Using The I-Pipe Tracer

Features Traces events with high-resolution timestamp, a user-provided value, and the current I-pipe domain states Supported events are kernel function entries entry and exit of a critical section (with separate longest-path evaluation) PID + current process priority user-provided event IDs Comes with instrumentation for hard IRQs-off tracing Kernel and user-space …