Re: [PATCH 1/9] perf/core: Add PERF_RECORD_CGROUP event
From: Arnaldo Carvalho de Melo
Date: Wed Aug 28 2019 - 09:13:23 EST
Em Wed, Aug 28, 2019 at 11:44:59AM +0200, Peter Zijlstra escreveu:
> 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?
Yeah, I'd resolve the conflict later, to avoid mixing things like this.