Hunting bugs in perf_event2

Adventures in system introspection.