> On Tue, Apr 9, 2019 at 12:12 PM Yafang Shao <laoar.shao@xxxxxxxxx> wrote: > > We can use the exposed cgroup_ino to trace specified cgroup. As far as I see, this patch didn't make it through yet, but sounds like a useful feature. It needs to be rebased, since mm_vmscan_memcg_reclaim_begin / mm_vmscan_memcg_softlimit_reclaim_begin now have may_writepage and classzone_idx, but overall looks good. I've checket it out with cgroup2 and ftrace, works as expected.