perf_counter: Use PID namespaces properly