From mboxrd@z Thu Jan 1 00:00:00 1970 From: compudj@krystal.dyndns.org (Mathieu Desnoyers) Date: Mon, 2 Mar 2009 20:09:20 -0500 Subject: [ltt-dev] [PATCH take2 11/13] implement ltt-ascii In-Reply-To: <49AC7FAD.2000104@cn.fujitsu.com> References: <498A5DAC.4030209@cn.fujitsu.com> <20090223192440.GK31815@Krystal> <49AC7FAD.2000104@cn.fujitsu.com> Message-ID: <20090303010920.GB6106@Krystal> * Lai Jiangshan (laijs at cn.fujitsu.com) wrote: > Mathieu Desnoyers ??: > > * Lai Jiangshan (laijs at cn.fujitsu.com) wrote: > >> + > > > > Here, instead of stopping the channels : > > > > call internal API equivalent of > > ltt_open > > ltt_poll > > ltt_ioctl > > ltt_close > > > > To interact with the buffer. This contains all the synchronization you > > need. > > > > That's a good idea. > > These means that we have to copy subbuffer and then parse it. > and it will be a problem that if we don't wait > the subbuffer(which is being committed) finished. > > It can be implemented, but it no so easy. I think it can be > implemented as an improvement patch, not in this patch set. > I'm currently doing it. The idea is to have a periodical interrupt timer which flushes the subbuffers periodically. The bin-to-ascii converter only reads flushed buffers. Mathieu > Lai > -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68