Re: [RFC PATCH 1/2] perf_events: add support for per-cpu per-cgroup monitoring (v4)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Li Zefan
Date: Wednesday, October 6, 2010 - 6:20 pm

Stephane Eranian wrote:

Can we avoid adding this perf cgroup subsystem? It has 2 disavantages:

- If one mounted cgroup fs without perf cgroup subsys, he can't monitor it.
- If there are several different cgroup mount points, only one can be
  monitored.

To choose which cgroup hierarchy to monitor, hierarchy id can be passed
from userspace, which is the 2nd column below:

$ cat /proc/cgroups
#subsys_name    hierarchy       num_cgroups     enabled
debug   0       1       1
net_cls 0       1       1

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC PATCH 1/2] perf_events: add support for per-cpu p ..., Li Zefan, (Wed Oct 6, 6:20 pm)
Re: [RFC PATCH 1/2] perf_events: add support for per-cpu p ..., stephane eranian, (Thu Oct 14, 11:56 am)