Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: alexandre.montplaisir@polymtl.ca (Alexandre Montplaisir)
Subject: [ltt-dev] UST communication library
Date: Wed, 15 Jun 2011 15:11:31 -0400	[thread overview]
Message-ID: <4DF903E3.8070506@polymtl.ca> (raw)
In-Reply-To: <BLU0-SMTP20CD3F791D81DEF590D816966B0@phx.gbl>

On 11-06-15 01:16 PM, Mathieu Desnoyers wrote:
> * Yannick Brosseau (yannick.brosseau at gmail.com) wrote:
>> Changing an dependency from UST to ustcomm is not
>> removing any dependency, its just adding one more and it makes it harder
>> to maintain.
> It removes the dependency from:
>
> lttng-tools ->  libust
>
> by splitting the dependency chain like this:
>
> lttng-tools ->  ustcomm
> libust ->  ustcomm
>
> So this part of your argumentation does not hold: we are in fact
> removing a dependency from lttng-tools to libust by creating a separate
> "ustcomm" package/lib/header.

I've been wondering, why is the lttng-tools -> libust dependency so "bad" ?

And what changes by moving to lttng-tools -> libustcomm ? That is still 
asking people to compile/install another library before installing 
lttng-tools.

> [...]
> So basically, my point is that we should design this so we can do
> changes in the API between libust and the applications without requiring
> *all* applications to upgrade to the new libust to stay compatible with
> lttng-tools.

libtool takes care of this. And even if they are part of the same source 
tarball / git tree, libust and libustcomm can each have their own 
libtool version number.

Obviously you decide ;)  but I agree with Yannick : if libustcomm does 
not provide any functionality of its own, it shouldn't be isolated. A 
case where it would make sense to have a separate library is if you want 
to export the "UST protocol" to other applications so they can use that 
protocol outside of libust and lttng-tools. This do not seem to be the 
case, at least for now.

>
> Thanks,
>
> Mathieu
>


-- 
Alexandre Montplaisir
DORSAL lab,
?cole Polytechnique de Montr?al





      reply	other threads:[~2011-06-15 19:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 21:26 David Goulet
2011-06-15  5:23 ` Alexandre Montplaisir
2011-06-15  8:09   ` Nils Carlson
2011-06-15 14:57   ` David Goulet
2011-06-15 15:01     ` Yannick Brosseau
2011-06-15 15:16       ` David Goulet
2011-06-15 15:21         ` Yannick Brosseau
2011-06-15 15:24           ` David Goulet
2011-06-15 15:26             ` Yannick Brosseau
2011-06-15 15:41               ` Mathieu Desnoyers
2011-06-15 18:51         ` Alexandre Montplaisir
2011-06-15 15:06 ` Yannick Brosseau
2011-06-15 15:13   ` David Goulet
2011-06-15 15:16     ` Yannick Brosseau
2011-06-15 15:32     ` Mathieu Desnoyers
     [not found]     ` <BLU0-SMTP5372DAF7E219ACFC9DE44C966B0@phx.gbl>
2011-06-15 15:55       ` Yannick Brosseau
2011-06-15 17:16         ` Mathieu Desnoyers
2011-06-15 19:11           ` Alexandre Montplaisir [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=4DF903E3.8070506@polymtl.ca \
    --to=alexandre.montplaisir@polymtl.ca \
    /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