Re: [RFC] tracing: Adding cgroup aware tracing functionality

From: Frederic Weisbecker
Date: Fri Apr 08 2011 - 15:01:10 EST

On Fri, Apr 08, 2011 at 03:37:48AM -0400, Steven Rostedt wrote:
> I actually agree, as perf is more focused on per process (or group) than
> ftrace. But that said, I guess the issue is also, if they have a simple
> solution that is not invasive and suits their needs, what's the harm in
> accepting it?

What about a kind of cgroup_of(path) operator that we can use on

common_pid cgroup_of(path)
common_pid __cgroup_of__ path

That way you don't bloat the tracing fast path?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at