root/tools/perf/lib/tests/

[..]
  1. test-cpumap.c
  2. test-evlist.c
  3. test-evsel.c
  4. test-threadmap.c
[..]