Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] UST communication library
@ 2011-06-14 21:26 David Goulet
  2011-06-15  5:23 ` Alexandre Montplaisir
  2011-06-15 15:06 ` Yannick Brosseau
  0 siblings, 2 replies; 18+ messages in thread
From: David Goulet @ 2011-06-14 21:26 UTC (permalink / raw)


Hi everyone,

We are in the process of moving out the UST control library out to lttng-tools
(thus soon deprecating ustctl and usttrace from the UST git tree). However,
there is a common part which is the communication library (libustcomm) where
every command to the tracer and responses are done through a Unix socket using
that specific libs (that contains key functions to pack/unpack data).

So the problem is where this lib should go? Here are the possibilities I've
discussed with Mathieu:

1) Keep libustcomm in UST and linking it in lttng-tools. Cons : direct
dependency! ... not good

2) Move libustcomm in lttng-tools and linking it with UST. Cons: direct
dependency! ... not good

3) Keep libustcomm in UST and dlopen() functions in lttng-tools. For that, we
will need an exported header that contains the symbols. So again... getting some
sort of dependency! (header in UST or git tree)... not good

4) Copy & Paste technique into both trees. REALLY NOT GOOD!

5) Making it a standalone library. So, new git tree, new package and getting it
dependent on lttng-tools and UST.

It seems that the fifth option should be the best idea...

Please any thoughts on that?

Cheers
David




^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-06-15 19:11 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-14 21:26 [ltt-dev] UST communication library 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox