Re: [PATCH 1/9] perf/core: Add PERF_RECORD_CGROUP event

From: Peter Zijlstra
Date: Wed Aug 28 2019 - 05:45:11 EST

On Wed, Aug 28, 2019 at 04:31:22PM +0900, Namhyung Kim wrote:
> To support cgroup tracking, add CGROUP event to save a link between
> cgroup path and inode number. The attr.cgroup bit was also added to
> enable cgroup tracking from userspace.
> This event will be generated when a new cgroup becomes active.
> Userspace might need to synthesize those events for existing cgroups.
> As aux_output change is also going on, I just added the bit here as
> well to remove possible conflicts later.

Why do we want this?