linux-stable/tools/lib/perf/Documentation/examples
..
counting.c
sampling.c