On Sun, 12 May 2019 16:25:28 +0800 Yafang Shao <laoar.shao@xxxxxxxxx> wrote: > We can use the exposed cgroup_ino to trace specified cgroup. > > For example, > step 1, get the inode of the specified cgroup > $ ls -di /tmp/cgroupv2/foo > step 2, set this inode into tracepoint filter to trace this cgroup only > (assume the inode is 11) > $ cd /sys/kernel/debug/tracing/events/vmscan/ > $ echo 'cgroup_ino == 11' > mm_vmscan_memcg_reclaim_begin/filter > $ echo 'cgroup_ino == 11' > mm_vmscan_memcg_reclaim_end/filter Seems straightforward enough. But please explain the value of such a change. What is wrong with the current situation and how does this change improve things? A simple use-case scenario would be good. I can guess why it is beneficial, but I'd rather not guess! Thanks.