Re: [PATCH 1/9] perf/core: Add PERF_RECORD_CGROUP event
From: Namhyung Kim
Date: Fri Dec 20 2019 - 06:28:16 EST
Hi Peter,
On Fri, Dec 20, 2019 at 6:33 PM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> On Fri, Dec 20, 2019 at 01:32:45PM +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.
> >
> > Cc: Tejun Heo <tj@xxxxxxxxxx>
> > Cc: Li Zefan <lizefan@xxxxxxxxxx>
> > Cc: Johannes Weiner <hannes@xxxxxxxxxxx>
> > Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> > Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
>
> TJ, is this the right thing to do? ISTR you had concerns on this topic
> on the past.
Oh, I should've updated the changelog. Now it uses 64bit cgroup id which
was converted by Tejun.
https://lkml.org/lkml/2019/11/4/1551
Thanks
Namhyung