lkml.org 
[lkml]   [2012]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 -tip 3/4] tracing: make a snapshot feature available from userspace
From
Date
On Fri, 2012-12-07 at 11:07 +0900, Hiraku Toyooka wrote:
> Hi, Steven,
>
> (2012/11/30 23:17), Steven Rostedt wrote:
> [snip]
> >
> > Actually, I would have:
> >
> > status\input | 0 | 1 | else |
> > --------------+------------+------------+------------+
> > not allocated |(do nothing)| alloc+swap | EINVAL |
> > --------------+------------+------------+------------+
> > allocated | free | swap | clear |
> > --------------+------------+------------+------------+
> >
> > Perhaps we don't need to do the clear on swap, just let the trace
> > continue where it left off? But in case we should swap...
> >
>
> I think we don't need the clear on swap too.
> I'll update my patches like this table.
>
> > There's a fast way to clear the tracer. Look at what the wakeup tracer
> > does. We can make that generic. If you want, I can write that code up
> > too. Hmm, maybe I'll do that, as it will speed things up for
> > everyone :-)
> >
>

BTW, any update on this? I really like to get this into 3.9.

Thanks!

-- Steve




\
 
 \ /
  Last update: 2012-12-14 18:43    [W:0.074 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site