27.6.3. Profiling userland programs

OK, we have to learn this stuff.

Examples:

  • userland/gcc/profile.c: simple profiling example, where certain calls of a certain function can dominate the runtime