[PATCH openEuler-22.03-LTS-SP1 15/23] perf tools: Add read_cgroup_id() function