Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: compudj@krystal.dyndns.org (Mathieu Desnoyers)
Subject: [ltt-dev] [PATCH take2 11/13] implement ltt-ascii
Date: Mon, 2 Mar 2009 20:09:20 -0500	[thread overview]
Message-ID: <20090303010920.GB6106@Krystal> (raw)
In-Reply-To: <49AC7FAD.2000104@cn.fujitsu.com>

* 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



      reply	other threads:[~2009-03-03  1:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05  3:31 Lai Jiangshan
2009-02-23 19:24 ` Mathieu Desnoyers
2009-03-03  0:54   ` Lai Jiangshan
2009-03-03  1:09     ` Mathieu Desnoyers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090303010920.GB6106@Krystal \
    --to=compudj@krystal.dyndns.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox