public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
To: Ingo Molnar <mingo@elte.hu>
Cc: Adrian Bunk <bunk@stusta.de>,
	Harvey Harrison <harvey.harrison@gmail.com>,
	Jesper Juhl <jesper.juhl@gmail.com>,
	"Robert P. J. Day" <rpjday@mindspring.com>,
	Jaswinder Singh Rajput <jaswinderrajput@gmail.com>,
	GeunSik Lim <leemgs1@gmail.com>,
	Wu Fengguang <fengguang.wu@intel.com>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Lai Jiangshan <laijs@cn.fujitsu.com>,
	Zhao Lei <zhaolei@cn.fujitsu.com>,
	KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
	linux-kernel@vger.kernel.org,
	Dominique Toupin <dominique.toupin@ericsson.com>,
	Michel Dagenais <michel.dagenais@polymtl.ca>,
	Pierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Subject: Re: Relicensing tracepoints and markers to Dual LGPL v2.1/GPL v2, headers to Dual BSD/GPL
Date: Fri, 23 Oct 2009 13:02:06 -0400	[thread overview]
Message-ID: <20091023170206.GA7797@Krystal> (raw)
In-Reply-To: <20091023163147.GA22928@elte.hu>

* Ingo Molnar (mingo@elte.hu) wrote:
> 
> * Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> wrote:
> 
> > Hi,
> > 
> > I would like to re-license the tracepoint.c/marker.c files from GPL 
> > to:
> > 
> > * Dual LGPL v2.1/GPL v2 license.
> > 
> > And re-license tracepoint.h/marker.h to:
> > 
> > * Dual BSD/GPL v2 license.
> > 
> > The goal is to allow sharing code between the kernel tracer and UST 
> > (User-Space Tracer) project, which is a LGPL v2.1 library. Tracepoint 
> > and marker headers might need to be included by proprietary or BSD 
> > applications, hence the dual BSD/GPL v2 license for these two.
> 
> We need a clean interface instead of some messy bindings - why do you 
> need a different license to kernel/tracepoint.c?
> 

The short answer is: I want to provide static userspace instrumentation
for fast and manageable userspace tracing. The infrastructure developed
for kernel tracepoints applies directly to userspace, but it needs to be
re-licensed to LGPL so we can trace non-GPL applications.


I'll re-spin the small text I sent to Steven, please tell me if it does
not answer your question:

The intent is to allow the tracer code developed both on the kernel-side
as part of Ftrace and LTTng and on the userspace side within UST to be
shared when appropriate. As a result, we can consider userland-only
solutions to user-space tracing without rewriting all the kernel
tracing infrastructure from scratch.

Tracing library has a small specificity though: if we want to be able to
allow tracing of non-GPL applications, we have to license the library
under a licence different from GPL. LGPLv2.1 seems like a very good fit
for that. It would allow proprietary, BSD and other applications to be
traced by linking dynamically to the LGPL tracing library. The intent is
to be able to provide an updated library version that can be dynamically
linked with these proprietary applications.

So, what I propose is to dual-license at the very least the TRACE_EVENT
generation code under GPLv2/LGPLv2.1 so the callbacks generated can be
used in a LGPL library. I plan to do the same for most of the LTTng
project.

I also plan to license the tracepoint.h header under a GPLv2/BSD-style
dual-license, so proprietary apps can include it. It would be the only
part that would not be relinkable. Note that it only involves the
tracing call sites declarations. I really want the probes generated by
TRACE_EVENT (with #CREATE_TRACE_POINTS) to be LGPL, so we can relink and
upgrade them when necessary.

Thanks,

Mathieu


-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68

      reply	other threads:[~2009-10-23 17:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 16:02 Relicensing tracepoints and markers to Dual LGPL v2.1/GPL v2, headers to Dual BSD/GPL Mathieu Desnoyers
2009-10-23 16:06 ` Mathieu Desnoyers
2009-10-24 21:03   ` Jesper Juhl
2009-10-24 21:22     ` Mathieu Desnoyers
2009-10-26  1:53     ` Wu Fengguang
2009-10-26  2:08       ` Relicensing tracepoints and markers to Dual LGPL v2.1/GPL v2,headers " Zhaolei
2009-10-26  5:03         ` GeunSik Lim
2009-10-26  7:30           ` Ingo Molnar
2009-10-26  8:10             ` GeunSik Lim
2009-10-26 10:17             ` Alan Cox
2009-10-26 11:31               ` Ingo Molnar
2009-10-26 13:45                 ` Steven Rostedt
2009-10-26 13:40               ` Steven Rostedt
2009-10-26 13:17             ` Pierre-Marc Fournier
2009-10-26 13:29               ` Steven Rostedt
2009-10-26 16:11                 ` Mathieu Desnoyers
2009-10-26 14:18               ` Arjan van de Ven
2009-10-26 16:05                 ` Mathieu Desnoyers
2009-10-26 20:21                 ` Ingo Molnar
2009-10-28 14:11             ` Mathieu Desnoyers
2009-10-23 16:31 ` Relicensing tracepoints and markers to Dual LGPL v2.1/GPL v2, headers " Ingo Molnar
2009-10-23 17:02   ` 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=20091023170206.GA7797@Krystal \
    --to=mathieu.desnoyers@polymtl.ca \
    --cc=bunk@stusta.de \
    --cc=dominique.toupin@ericsson.com \
    --cc=fengguang.wu@intel.com \
    --cc=fweisbec@gmail.com \
    --cc=harvey.harrison@gmail.com \
    --cc=jaswinderrajput@gmail.com \
    --cc=jesper.juhl@gmail.com \
    --cc=kosaki.motohiro@jp.fujitsu.com \
    --cc=laijs@cn.fujitsu.com \
    --cc=leemgs1@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michel.dagenais@polymtl.ca \
    --cc=mingo@elte.hu \
    --cc=pierre-marc.fournier@polymtl.ca \
    --cc=rostedt@goodmis.org \
    --cc=rpjday@mindspring.com \
    --cc=zhaolei@cn.fujitsu.com \
    /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