Re: [PATCH] oom: add tracepoints for oom_score_adj

From: KAMEZAWA Hiroyuki
Date: Thu Dec 08 2011 - 19:34:33 EST


On Fri, 9 Dec 2011 08:41:03 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:

> On Thu, 08 Dec 2011 12:33:35 -0500
> KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:
see Documentation/trace/event.txt 5. Event filgtering
> >
> > Now, both ftrace and perf have good filter feature. Isn't this enough?
> >
>
> Could you make patch ? Then, I stop this and go other probelm.
>

Hmm, core of patch should be like this. But need some works on

- How to debug oom in Documenation especially for trace-cmd users.
- Other trace points sutable for 'task' tracing. maybe 'exit, stop, freeze' ?
- at creating new task, what other members should be printed out ?
- At renaming...don't we need reason for renaming ?

Hm. BTW, do you know how to write filtering in
/etc/sysconfig/trace-cmd.config ?