Re: [lttng-dev] Perf ABI (was: Re: [PATCH 09/11] sched: export task_prio to GPL modules)

2012-01-12 Thread Mathieu Desnoyers
* Steven Rostedt (rost...@goodmis.org) wrote: > On Thu, 2012-01-12 at 10:39 -0500, Mathieu Desnoyers wrote: > > > pipe()/pipe2() > > dup()/dup2()/dup3() > > umount()/umount2() > > mmap()/mmap2() > > madvise()/madvise1() > > eventfd()/eventfd2() > &

Re: [lttng-dev] Perf ABI (was: Re: [PATCH 09/11] sched: export task_prio to GPL modules)

2012-01-12 Thread Mathieu Desnoyers
* Steven Rostedt (rost...@goodmis.org) wrote: > On Thu, 2012-01-12 at 09:09 -0500, Mathieu Desnoyers wrote: > > > > It is important to clarify that tracing is, in my opinion, not part of > > the runtime support, which makes it very different by nature from > > fil

Re: Perf ABI (was: Re: [lttng-dev] [PATCH 09/11] sched: export task_prio to GPL modules)

2012-01-12 Thread Mathieu Desnoyers
* Ted Ts'o (ty...@mit.edu) wrote: > On Fri, Dec 23, 2011 at 01:16:41PM -0500, Mathieu Desnoyers wrote: [...] > > - The trace data format > > - Both versioned _and_ self-described. > > Self-description of the event/field layout allows the same tools to > >

Re: Perf ABI (was: Re: [lttng-dev] [PATCH 09/11] sched: export task_prio to GPL modules)

2011-12-23 Thread Mathieu Desnoyers
Hi Ted, * Ted Ts'o (ty...@mit.edu) wrote: > On Fri, Dec 23, 2011 at 11:46:29AM -0500, Mathieu Desnoyers wrote: > > - It's doing so without even needing it: Perf is using an ABI versioning > > scheme designed for filesystems, when it is not in fact driven by the > >

Perf ABI (was: Re: [lttng-dev] [PATCH 09/11] sched: export task_prio to GPL modules)

2011-12-23 Thread Mathieu Desnoyers
Hi Ingo, I'll break down my reply in various sub-topics, and address them separately in the following weeks. Let's start with the ABIs. * Ingo Molnar (mi...@elte.hu) wrote: > > (Cc:-ing Arnaldo on this as well.) > > * Mathieu Desnoyers wrote: > > > > Mathieu

[PATCH] staging: Remove LTTng from MAINTAINERS file

2011-12-21 Thread Mathieu Desnoyers
LTTng has been removed from the staging tree. Complete this removal by removing the LTTng entry from the MAINTAINERS file. Signed-off-by: Mathieu Desnoyers CC: Greg Kroah-Hartman CC: Ingo Molnar CC: Peter Zijlstra --- diff --git a/MAINTAINERS b/MAINTAINERS index f3bb825..1514f7a 100644

Re: [lttng-dev] [PATCH 09/11] sched: export task_prio to GPL modules

2011-12-19 Thread Mathieu Desnoyers
t while also bringing in an ABI that allows handling of change and innovation, which is, IMHO, the key limiting factor of the current ABIs. By doing so, perf could become the set of tools targeting what it does best: performance counters management and sampling, ftrace could keep on targeting func

Re: [PATCH 09/11] sched: export task_prio to GPL modules

2011-12-07 Thread Mathieu Desnoyers
lly open to help out on working on common pieces of infrastructures, but for that they need to take into account both the current perf/ftrace use-cases and the LTTng use-cases. Best regards, Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant Effic

lttng: Update max symbol length to 256

2011-12-05 Thread Mathieu Desnoyers
The user-space tracer, along with the control tools, now support longer event name strings (up to 256 chars, including \0). Signed-off-by: Mathieu Desnoyers --- diff --git a/drivers/staging/lttng/ltt-debugfs-abi.h b/drivers/staging/lttng/ltt-debugfs-abi.h index 42bc9fd..a018297 100644 --- a

[PATCH] lttng: TODO update: lttng reported to work fine on -rt now

2011-12-03 Thread Mathieu Desnoyers
The patch "lttng: Fix recent modifications to string_from_user operation" has been confirmed to fix the corrupted trace problem experienced on -rt kernel by the original bug reporter. Remove the entry from the LTTng TODO list. Reported-by: Yannick Brosseau Signed-off-by: Mathieu

[PATCH] lttng: Fix recent modifications to string_from_user operation

2011-12-03 Thread Mathieu Desnoyers
From: Yannick Brosseau Include: a fix for a recently introduced change: obviously max_t should be used instead of min_t here. Also, a likely should apply to the result of the comparison, not the variable per se. Signed-off-by: Yannick Brosseau Signed-off-by: Mathieu Desnoyers --- diff --git a

Re: [PATCH 09/11] sched: export task_prio to GPL modules

2011-12-02 Thread Mathieu Desnoyers
* Peter Zijlstra (pet...@infradead.org) wrote: > On Thu, 2011-12-01 at 17:36 -0500, Mathieu Desnoyers wrote: > > So what you are saying is that it is fine to export task_prio to > > _userspace_, thus making it part of the ABI, but it's not OK to export > > it to GP

[PATCH] fs/splice: export splice_to_pipe to modules

2011-12-02 Thread Mathieu Desnoyers
The LTTng driver needs this symbol exported because it implements its own splice actor. All other exports in splice are EXPORT_SYMBOL(), so follow the local trend by not using a _GPL() export. Signed-off-by: Mathieu Desnoyers CC: Linus Torvalds CC: Ingo Molnar CC: Jens Axboe CC: linux-ker

Re: [PATCH 03/11] fs/splice: export splice_to_pipe to GPL modules

2011-12-02 Thread Mathieu Desnoyers
* Jens Axboe (j...@axboe.dk) wrote: > On 2011-12-01 22:41, Mathieu Desnoyers wrote: > > The LTTng driver needs this symbol exported because it implements its > > own splice actor. > > > > Signed-off-by: Mathieu Desnoyers > > CC: Linus Torvalds > > CC:

Re: [PATCH 09/11] sched: export task_prio to GPL modules

2011-12-01 Thread Mathieu Desnoyers
* Greg KH (g...@kroah.com) wrote: > On Fri, Dec 02, 2011 at 12:06:37AM +0100, Peter Zijlstra wrote: > > On Thu, 2011-12-01 at 17:15 -0500, Mathieu Desnoyers wrote: > > > > > > If you don't want to trace sched_switch, but just conveniently prepend > >

Re: [PATCH 09/11] sched: export task_prio to GPL modules

2011-12-01 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: > * Peter Zijlstra (pet...@infradead.org) wrote: > > On Thu, 2011-12-01 at 17:04 -0500, Mathieu Desnoyers wrote: > > > * Peter Zijlstra (pet...@infradead.org) wrote: > > > > On Thu, 2011-12-01 at 16:41

Re: [PATCH 09/11] sched: export task_prio to GPL modules

2011-12-01 Thread Mathieu Desnoyers
* Greg KH (g...@kroah.com) wrote: > On Thu, Dec 01, 2011 at 10:56:08PM +0100, Peter Zijlstra wrote: > > On Thu, 2011-12-01 at 16:41 -0500, Mathieu Desnoyers wrote: > > > LTTng needs this symbol to prepend the current task dynamic priority > > > value to events (o

Re: [PATCH 01/11] mm: export vmalloc_sync_all symbol to GPL modules

2011-12-01 Thread Mathieu Desnoyers
* Greg KH (g...@kroah.com) wrote: > On Thu, Dec 01, 2011 at 04:57:00PM -0500, Christoph Hellwig wrote: > > On Thu, Dec 01, 2011 at 04:41:13PM -0500, Mathieu Desnoyers wrote: > > > LTTng needs this symbol exported. It calls it to ensure its tracing > > > buffers and allo

Re: [PATCH 09/11] sched: export task_prio to GPL modules

2011-12-01 Thread Mathieu Desnoyers
* Peter Zijlstra (pet...@infradead.org) wrote: > On Thu, 2011-12-01 at 17:04 -0500, Mathieu Desnoyers wrote: > > * Peter Zijlstra (pet...@infradead.org) wrote: > > > On Thu, 2011-12-01 at 16:41 -0500, Mathieu Desnoyers wrote: > > > > LTTng needs this symbol to pr

Re: [PATCH 07/15] fs/splice: export splice_to_pipe to modules

2011-12-01 Thread Mathieu Desnoyers
* Greg KH (g...@kroah.com) wrote: > On Thu, Dec 01, 2011 at 03:18:03PM -0500, Mathieu Desnoyers wrote: > > * Greg KH (g...@kroah.com) wrote: > > > On Wed, Nov 30, 2011 at 01:34:20PM -0500, Mathieu Desnoyers wrote: > > > > LTTng needs this symbol exported becaus

Re: [PATCH 09/11] sched: export task_prio to GPL modules

2011-12-01 Thread Mathieu Desnoyers
* Peter Zijlstra (pet...@infradead.org) wrote: > On Thu, 2011-12-01 at 16:41 -0500, Mathieu Desnoyers wrote: > > LTTng needs this symbol to prepend the current task dynamic priority > > value to events (optional context information). > > I absolutely detest exporting such stu

[PATCH 11/11] lttng: remove kallsyms wrapper

2011-12-01 Thread Mathieu Desnoyers
LTTng does not need this wrapper anymore, given that all the lookups that were done with kallsyms are replaced by exported symbols. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/wrapper/kallsyms.h | 30 -- 1 files changed, 0 insertions(+), 30 deletions

[PATCH 10/11] lttng: remove task_prio wrapper

2011-12-01 Thread Mathieu Desnoyers
Use the newly exported task_prio symbol. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lttng-context-prio.c | 23 +-- 1 files changed, 1 insertions(+), 22 deletions(-) diff --git a/drivers/staging/lttng/lttng-context-prio.c b/drivers/staging/lttng/lttng

[PATCH 08/11] lttng: remove uuid wrapper

2011-12-01 Thread Mathieu Desnoyers
Now that LTTng is in the kernel tree, we don't need to provide support for older kernel versions. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/ltt-events.c |2 +- drivers/staging/lttng/ltt-events.h |3 ++- drivers/staging/lttng/wrapper/uuid.h |

[PATCH 09/11] sched: export task_prio to GPL modules

2011-12-01 Thread Mathieu Desnoyers
LTTng needs this symbol to prepend the current task dynamic priority value to events (optional context information). Signed-off-by: Mathieu Desnoyers CC: Ingo Molnar CC: Peter Zijlstra CC: linux-ker...@vger.kernel.org CC: Greg KH --- kernel/sched.c |1 + 1 files changed, 1 insertions

[PATCH 06/11] lttng: remove ftrace function tracer support (but keep

2011-12-01 Thread Mathieu Desnoyers
g semantic. We'll probably add back ftrace function tracing support for tracing "all functions" at some point when the ftrace API supports private data. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/README|4 +- drivers/staging/lttng/ltt-events.c

[PATCH 07/11] lttng: remove raw spinlock wrapper

2011-12-01 Thread Mathieu Desnoyers
Now that LTTng is in the kernel tree, we don't need to support deprecated APIs from older kernels. Signed-off-by: Mathieu Desnoyers --- .../staging/lttng/lib/ringbuffer/frontend_types.h |1 - drivers/staging/lttng/wrapper/spinlock.h | 26 2 files chang

[PATCH 03/11] fs/splice: export splice_to_pipe to GPL modules

2011-12-01 Thread Mathieu Desnoyers
The LTTng driver needs this symbol exported because it implements its own splice actor. Signed-off-by: Mathieu Desnoyers CC: Linus Torvalds CC: Ingo Molnar CC: Jens Axboe CC: linux-ker...@vger.kernel.org CC: Greg KH --- fs/splice.c |1 + 1 files changed, 1 insertions(+), 0 deletions

[PATCH 05/11] lttng: remove perf_event_create_kernel_counter wrapper

2011-12-01 Thread Mathieu Desnoyers
Now that LTTng is in the kernel tree, we don't need to support deprecated APIs from older kernels. Signed-off-by: Mathieu Desnoyers --- .../staging/lttng/lttng-context-perf-counters.c|9 ++--- drivers/staging/lttng/wrapper/perf.h | 32 2

[PATCH 04/11] lttng: remove splice_to_pipe wrapper

2011-12-01 Thread Mathieu Desnoyers
Use the newly exported splice_to_pipe symbol. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/Makefile |3 +- .../lttng/lib/ringbuffer/ring_buffer_splice.c |3 +- drivers/staging/lttng/wrapper/splice.c | 46 drivers

[PATCH 02/11] Remove LTTng vmalloc_sync_all wrapper

2011-12-01 Thread Mathieu Desnoyers
Use the newly exported vmalloc_sync_all symbol. Signed-off-by: Mathieu Desnoyers --- .../lttng/lib/ringbuffer/ring_buffer_backend.c |3 +- drivers/staging/lttng/ltt-context.c|1 - drivers/staging/lttng/ltt-debugfs-abi.c|3 +- drivers/staging/lttng/ltt

[PATCH 01/11] mm: export vmalloc_sync_all symbol to GPL modules

2011-12-01 Thread Mathieu Desnoyers
LTTng needs this symbol exported. It calls it to ensure its tracing buffers and allocated data structures never trigger a page fault. This is required to handle page fault handler tracing and NMI tracing gracefully. Signed-off-by: Mathieu Desnoyers CC: Linus Torvalds CC: Christoph Hellwig CC

LTTng wrapper cleanup (v2)

2011-12-01 Thread Mathieu Desnoyers
Hi Greg, Here is a resend of the LTTng wrapper cleanup for the LTTng driver in staging, adding those who I think are the rightful author/maintainers of the files I am modifying for symbol export. I also made sure to use EXPORT_SYMBOL_GPL everywhere. Diffstat: mm/nommu.c

Re: [PATCH 13/15] Export task_prio to modules

2011-12-01 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: > * Greg KH (g...@kroah.com) wrote: > > On Wed, Nov 30, 2011 at 01:34:26PM -0500, Mathieu Desnoyers wrote: > > > LTTng needs this symbol to prepend the current task dynamic priority > > > value to events (o

Re: [PATCH] lttng: cleanup one-bit signed bitfields

2011-12-01 Thread Mathieu Desnoyers
* Greg KH (g...@kroah.com) wrote: > On Thu, Dec 01, 2011 at 09:31:18AM -0500, Mathieu Desnoyers wrote: > > commit 93db362daaaef88fed672256fa2948cf0efc11fb > > Author: Mathieu Desnoyers > > Date: Thu Dec 1 09:25:40 2011 -0500 > > > > lttng: cleanup one-bit

Re: [PATCH 13/15] Export task_prio to modules

2011-12-01 Thread Mathieu Desnoyers
* Greg KH (g...@kroah.com) wrote: > On Wed, Nov 30, 2011 at 01:34:26PM -0500, Mathieu Desnoyers wrote: > > LTTng needs this symbol to prepend the current task dynamic priority > > value to events (optional context information). > > > > Exporting to all modules foll

Re: [PATCH 07/15] fs/splice: export splice_to_pipe to modules

2011-12-01 Thread Mathieu Desnoyers
* Greg KH (g...@kroah.com) wrote: > On Wed, Nov 30, 2011 at 01:34:20PM -0500, Mathieu Desnoyers wrote: > > LTTng needs this symbol exported because it implements its own splice > > actor. > > > > Exporting to all modules following the general policy of splice.c (this &

Re: [patch] Staging: lttng: dubious one-bit signed bitfields

2011-12-01 Thread Mathieu Desnoyers
gt; since you plan to go for uint perhaps we can drop that bitfield stuff at all ? > > re, > wh > > > Am 01.12.2011 15:20, schrieb Mathieu Desnoyers: > > * walter harms (wha...@bfs.de) wrote: > >> hi, > >> This patch looks ok to me but this design is ug

[PATCH] lttng: cleanup one-bit signed bitfields

2011-12-01 Thread Mathieu Desnoyers
commit 93db362daaaef88fed672256fa2948cf0efc11fb Author: Mathieu Desnoyers Date: Thu Dec 1 09:25:40 2011 -0500 lttng: cleanup one-bit signed bitfields * Dan Carpenter wrote: > Sparse complains that these signed bitfields look "dubious". The > problem is

Re: [patch] Staging: lttng: dubious one-bit signed bitfields

2011-12-01 Thread Mathieu Desnoyers
_exit; /* for syscall exit */ > > int header_type;/* 0: unset, 1: compact, 2: large */ > > - int metadata_dumped:1; > > + unsigned int metadata_dumped:1; > > }; > > > > struct ltt_session { > > @@ -264,7 +264,7 @@ str

Re: LTTng wrapper cleanup

2011-11-30 Thread Mathieu Desnoyers
* Greg KH (g...@kroah.com) wrote: > On Wed, Nov 30, 2011 at 01:34:13PM -0500, Mathieu Desnoyers wrote: > > > > Hi Greg, > > > > Here is the cleanup of the LTTng wrappers that used kallsyms to lookup > > some kernel symbols. I introduce the missing symbols in t

[PATCH 14/15] lttng: remove task_prio wrapper

2011-11-30 Thread Mathieu Desnoyers
Use the newly exported task_prio symbol. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lttng-context-prio.c | 23 +-- 1 files changed, 1 insertions(+), 22 deletions(-) diff --git a/drivers/staging/lttng/lttng-context-prio.c b/drivers/staging/lttng/lttng

[PATCH 15/15] lttng: remove kallsyms wrapper

2011-11-30 Thread Mathieu Desnoyers
LTTng does not need this wrapper anymore, given that all the lookups that were done with kallsyms are replaced by exported symbols. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/wrapper/kallsyms.h | 30 -- 1 files changed, 0 insertions(+), 30 deletions

[PATCH 13/15] Export task_prio to modules

2011-11-30 Thread Mathieu Desnoyers
LTTng needs this symbol to prepend the current task dynamic priority value to events (optional context information). Exporting to all modules following the similar task_nice(). Signed-off-by: Mathieu Desnoyers --- kernel/sched.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff

[PATCH 10/15] lttng: remove ftrace function tracer support (but keep

2011-11-30 Thread Mathieu Desnoyers
g semantic. We'll probably add back ftrace function tracing support for tracing "all functions" at some point when the ftrace API supports private data. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/README|4 +- drivers/staging/lttng/ltt-events.c

[PATCH 12/15] lttng: remove uuid wrapper

2011-11-30 Thread Mathieu Desnoyers
Now that LTTng is in the kernel tree, we don't need to provide support for older kernel versions. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/ltt-events.c |2 +- drivers/staging/lttng/ltt-events.h |3 ++- drivers/staging/lttng/wrapper/uuid.h |

[PATCH 11/15] lttng: remove raw spinlock wrapper

2011-11-30 Thread Mathieu Desnoyers
Now that LTTng is in the kernel tree, we don't need to support deprecated APIs from older kernels. Signed-off-by: Mathieu Desnoyers --- .../staging/lttng/lib/ringbuffer/frontend_types.h |1 - drivers/staging/lttng/wrapper/spinlock.h | 26 2 files chang

[PATCH 08/15] lttng: remove splice_to_pipe wrapper

2011-11-30 Thread Mathieu Desnoyers
Use the newly exported splice_to_pipe symbol. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/Makefile |3 +- .../lttng/lib/ringbuffer/ring_buffer_splice.c |3 +- drivers/staging/lttng/wrapper/splice.c | 46 drivers

[PATCH 09/15] lttng: remove perf_event_create_kernel_counter wrapper

2011-11-30 Thread Mathieu Desnoyers
Now that LTTng is in the kernel tree, we don't need to support deprecated APIs from older kernels. Signed-off-by: Mathieu Desnoyers --- .../staging/lttng/lttng-context-perf-counters.c|9 ++--- drivers/staging/lttng/wrapper/perf.h | 32 2

[PATCH 06/15] Remove LTTng vmalloc_sync_all wrapper

2011-11-30 Thread Mathieu Desnoyers
Use the newly exported vmalloc_sync_all symbol. Signed-off-by: Mathieu Desnoyers --- .../lttng/lib/ringbuffer/ring_buffer_backend.c |3 +- drivers/staging/lttng/ltt-context.c|1 - drivers/staging/lttng/ltt-debugfs-abi.c|3 +- drivers/staging/lttng/ltt

[PATCH 07/15] fs/splice: export splice_to_pipe to modules

2011-11-30 Thread Mathieu Desnoyers
LTTng needs this symbol exported because it implements its own splice actor. Exporting to all modules following the general policy of splice.c (this is what other EXPORTs do in this file). Signed-off-by: Mathieu Desnoyers --- fs/splice.c |1 + 1 files changed, 1 insertions(+), 0 deletions

[PATCH 05/15] lttng wrapper: add missing include to kallsyms wrapper

2011-11-30 Thread Mathieu Desnoyers
Needed to keep bissectability. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/wrapper/kallsyms.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/staging/lttng/wrapper/kallsyms.h b/drivers/staging/lttng/wrapper/kallsyms.h index bb45f38..a7b8ab1

[PATCH 04/15] Export vmalloc_sync_all symbol to GPL modules

2011-11-30 Thread Mathieu Desnoyers
LTTng needs this symbol exported. It calls it to ensure its tracing buffers and allocated data structures never trigger a page fault. This is required to handle page fault handler tracing and NMI tracing gracefully. Signed-off-by: Mathieu Desnoyers --- mm/nommu.c |1 + mm/vmalloc.c |1

[PATCH 02/15] lttng lib: ring buffer remove duplicate null pointer

2011-11-30 Thread Mathieu Desnoyers
ffset, sb_bindex; > 32 > 33 if (!buf) > > Check. > > 34 return VM_FAULT_OOM; > 35 This check is performed at mapping setup time in lib_ring_buffer_mmap_buf() already, so we can safely remove this duplicata.

[PATCH 03/15] lttng lib: ring buffer move null pointer check to open

2011-11-30 Thread Mathieu Desnoyers
-EINVAL; > 85 > 86 if (!buf) > > Check. > > 87 return -EBADF; > 88 Let's move the NULL buf check to the file "open", where it belongs. The "open" file operation is the actual int

LTTng wrapper cleanup

2011-11-30 Thread Mathieu Desnoyers
Hi Greg, Here is the cleanup of the LTTng wrappers that used kallsyms to lookup some kernel symbols. I introduce the missing symbols in the mainline kernel, trying to follow the local exports already in place when it comes to choosing between EXPORT_SYMBOL and EXPORT_SYMBOL_GPL. I also removed wr

[PATCH 01/15] lttng lib: ring buffer: remove stale null-pointer

2011-11-30 Thread Mathieu Desnoyers
; ^ > Check. At first glance the comment seems out of date, I think check can > be removed safely. > > 1151 return; > 1152 /* Reported-by: Dan Carpenter Signed-off-by: Mathieu Desnoyers --- .../lttng/lib/ringbuffer/ring_buffer_

Re: [PATCH 07/20] lttng wrappers

2011-11-29 Thread Mathieu Desnoyers
* Greg KH (g...@kroah.com) wrote: > On Mon, Nov 28, 2011 at 07:42:14AM -0500, Mathieu Desnoyers wrote: > > Implement wrappers for compatibility with older kernel versions and > > kernels with had the libringbuffer (old) patchset applied. > > > > Signed-off-by: Mathie

[PATCH 19/20] staging: add LTTng to build

2011-11-28 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/Kconfig |2 ++ drivers/staging/Makefile |1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index 06c9081..09895ba 100644 --- a/drivers/staging/Kconfig +++ b/drivers

[PATCH 20/20] Add LTTng entry to MAINTAINERS file

2011-11-28 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 6185d05..7627a1b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4065,6 +4065,13 @@ W: http://ltp.sourceforge.net/ T: git git

[PATCH 18/20] lttng: toplevel Makefile and Kconfig

2011-11-28 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/Kconfig | 35 +++ drivers/staging/lttng/Makefile | 33 + 2 files changed, 68 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/Kconfig create

[PATCH 16/20] lttng: add system call instrumentation probe

2011-11-28 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lttng-syscalls.c | 438 1 files changed, 438 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lttng-syscalls.c diff --git a/drivers/staging/lttng/lttng-syscalls.c b/drivers

[PATCH 15/20] lttng: Add documentation and TODO files

2011-11-28 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/LICENSE | 27 drivers/staging/lttng/README | 48 ++ drivers/staging/lttng/TODO| 137 + 3 files changed, 212 insertions(+), 0 deletions(-) create mode 100644 drivers

[PATCH 14/20] lttng: debugfs and procfs ABI

2011-11-28 Thread Mathieu Desnoyers
bject" (session, channel, stream, event, context). Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/ltt-debugfs-abi.c | 777 +++ drivers/staging/lttng/ltt-debugfs-abi.h | 153 ++ 2 files changed, 930 insertions(+), 0 deletions(-) create mode 100644 d

[PATCH 12/20] lttng: dynamically selectable context information

2011-11-28 Thread Mathieu Desnoyers
Events can be augmented with context information. This is dynamically configurable from the command line. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/ltt-context.c| 93 +++ drivers/staging/lttng/lttng-context-nice.c | 68 + .../staging/lttng

[PATCH 13/20] lttng: timing calibration feature

2011-11-28 Thread Mathieu Desnoyers
This calibration feature is fairly limited for now, but provides an example of how this can be performed. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lttng-calibrate.c | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) create mode 100644

[PATCH 11/20] lttng: tracer control and core structures

2011-11-28 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/ltt-endian.h | 31 + drivers/staging/lttng/ltt-events.c | 1009 +++ drivers/staging/lttng/ltt-events.h | 452 ++ drivers/staging/lttng/ltt-probes.c | 164 + drivers

[PATCH 10/20] lttng: lib ring buffer clients

2011-11-28 Thread Mathieu Desnoyers
Each lttng buffer configuration (discard mode, overwrite mode, mmap support, splice support, per-cpu buffers, global buffer for metadata) is a lib ring buffer client. Signed-off-by: Mathieu Desnoyers --- .../staging/lttng/ltt-ring-buffer-client-discard.c | 21 + .../lttng/ltt-ring-buffer

[PATCH 07/20] lttng wrappers

2011-11-28 Thread Mathieu Desnoyers
Implement wrappers for compatibility with older kernel versions and kernels with had the libringbuffer (old) patchset applied. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/wrapper/ftrace.h | 70 ++ drivers/staging/lttng/wrapper/inline_memcpy.h

[PATCH 05/20] lttng: offset alignment header

2011-11-28 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/align.h | 61 + 1 files changed, 61 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/align.h diff --git a/drivers/staging/lttng/lib/align.h b/drivers/staging/lttng

[PATCH 06/20] lttng libs: add Makefile

2011-11-28 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/Makefile | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/Makefile diff --git a/drivers/staging/lttng/lib/Makefile b/drivers/staging/lttng/lib/Makefile new file

[PATCH 03/20] lttng lib: portable bitfield read/write header

2011-11-28 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/bitfield.h | 400 ++ 1 files changed, 400 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/bitfield.h diff --git a/drivers/staging/lttng/lib/bitfield.h b/drivers/staging

[PATCH 04/20] lttng: BUILD_RUNTIME_BUG_ON

2011-11-28 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/bug.h | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/bug.h diff --git a/drivers/staging/lttng/lib/bug.h b/drivers/staging/lttng/lib/bug.h new

[PATCH 01/20] lttng lib: lttng priority heap

2011-11-28 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- .../staging/lttng/lib/prio_heap/lttng_prio_heap.c | 207 .../staging/lttng/lib/prio_heap/lttng_prio_heap.h | 117 +++ 2 files changed, 324 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/prio_heap

LTTng driver submission for staging (2nd attempt)

2011-11-28 Thread Mathieu Desnoyers
Hi Greg, This a resend of the LTTng driver patchset for staging. After your review of the first round, I proceeded to the following modifications: - Understood that git format-patch must be given the commit prior to the first commit to include in the patchset as first commit ID, this adding

Re: LTTng driver submission for inclusion in staging (resend)

2011-11-27 Thread Mathieu Desnoyers
* Greg KH (g...@kroah.com) wrote: > On Sat, Nov 26, 2011 at 10:03:25AM -0500, Mathieu Desnoyers wrote: > > > > Hi, > > > > I hereby propose the LTTng kernel tracer for inclusion into the staging > > area of the Linux kernel. For those eager to try it out, and

Re: [PATCH 14/19] lttng: Add documentation and license files

2011-11-27 Thread Mathieu Desnoyers
* Greg KH (g...@kroah.com) wrote: > On Sat, Nov 26, 2011 at 10:03:39AM -0500, Mathieu Desnoyers wrote: > > Signed-off-by: Mathieu Desnoyers > > --- > > drivers/staging/lttng/ChangeLog| 75 ++ > > drivers/staging/lttng/LICENSE | 27 ++ > &

[PATCH 19/19] Add LTTng entry to MAINTAINERS file

2011-11-26 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 6185d05..7627a1b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4065,6 +4065,13 @@ W: http://ltp.sourceforge.net/ T: git git

[PATCH 18/19] staging: add LTTng to build

2011-11-26 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/Kconfig |2 ++ drivers/staging/Makefile |1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index 06c9081..09895ba 100644 --- a/drivers/staging/Kconfig +++ b/drivers

[PATCH 17/19] lttng: toplevel Makefile and Kconfig

2011-11-26 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/Kconfig | 35 +++ drivers/staging/lttng/Makefile | 33 + 2 files changed, 68 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/Kconfig create

[PATCH 14/19] lttng: Add documentation and license files

2011-11-26 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/ChangeLog| 75 ++ drivers/staging/lttng/LICENSE | 27 ++ drivers/staging/lttng/README | 46 drivers/staging/lttng/gpl-2.0.txt | 339 drivers/staging/lttng/lgpl-2.1.txt | 504

[PATCH 13/19] lttng: debugfs and procfs ABI

2011-11-26 Thread Mathieu Desnoyers
bject" (session, channel, stream, event, context). Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/ltt-debugfs-abi.c | 777 +++ drivers/staging/lttng/ltt-debugfs-abi.h | 153 ++ 2 files changed, 930 insertions(+), 0 deletions(-) create mode 100644 d

[PATCH 15/19] lttng: add system call instrumentation probe

2011-11-26 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lttng-syscalls.c | 437 1 files changed, 437 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lttng-syscalls.c diff --git a/drivers/staging/lttng/lttng-syscalls.c b/drivers

[PATCH 11/19] lttng: dynamically selectable context information

2011-11-26 Thread Mathieu Desnoyers
Events can be augmented with context information. This is dynamically configurable from the command line. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/ltt-context.c| 93 +++ drivers/staging/lttng/lttng-context-nice.c | 68 + .../staging/lttng

[PATCH 10/19] lttng: tracer control and core structures

2011-11-26 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/ltt-endian.h | 31 + drivers/staging/lttng/ltt-events.c | 1009 +++ drivers/staging/lttng/ltt-events.h | 452 ++ drivers/staging/lttng/ltt-probes.c | 164 + drivers

[PATCH 12/19] lttng: timing calibration feature

2011-11-26 Thread Mathieu Desnoyers
This calibration feature is fairly limited for now, but provides an example of how this can be performed. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lttng-calibrate.c | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) create mode 100644

[PATCH 09/19] lttng: lib ring buffer clients

2011-11-26 Thread Mathieu Desnoyers
Each lttng buffer configuration (discard mode, overwrite mode, mmap support, splice support, per-cpu buffers, global buffer for metadata) is a lib ring buffer client. Signed-off-by: Mathieu Desnoyers --- .../staging/lttng/ltt-ring-buffer-client-discard.c | 21 + .../lttng/ltt-ring-buffer

[PATCH 06/19] lttng wrappers

2011-11-26 Thread Mathieu Desnoyers
Implement wrappers for compatibility with older kernel versions and kernels with had the libringbuffer (old) patchset applied. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/wrapper/ftrace.h | 70 ++ drivers/staging/lttng/wrapper/inline_memcpy.h

[PATCH 05/19] lttng libs: add Makefile

2011-11-26 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/Makefile | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/Makefile diff --git a/drivers/staging/lttng/lib/Makefile b/drivers/staging/lttng/lib/Makefile new file

LTTng driver submission for inclusion in staging (resend)

2011-11-26 Thread Mathieu Desnoyers
Hi, I hereby propose the LTTng kernel tracer for inclusion into the staging area of the Linux kernel. For those eager to try it out, and to get information about the features of this tracer, you should grab the control/consumer/viewer tools at: http://lttng.org/lttng2.0 Feedback is very welcome!

[PATCH 02/19] lttng lib: portable bitfield read/write header

2011-11-26 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/bitfield.h | 400 ++ 1 files changed, 400 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/bitfield.h diff --git a/drivers/staging/lttng/lib/bitfield.h b/drivers/staging

[PATCH 03/19] lttng: BUILD_RUNTIME_BUG_ON

2011-11-26 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/bug.h | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/bug.h diff --git a/drivers/staging/lttng/lib/bug.h b/drivers/staging/lttng/lib/bug.h new

[PATCH 04/19] lttng: offset alignment header

2011-11-26 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/align.h | 61 + 1 files changed, 61 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/align.h diff --git a/drivers/staging/lttng/lib/align.h b/drivers/staging/lttng

[PATCH 10/19] lttng: tracer control and core structures

2011-11-25 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/ltt-endian.h | 31 + drivers/staging/lttng/ltt-events.c | 1009 +++ drivers/staging/lttng/ltt-events.h | 452 ++ drivers/staging/lttng/ltt-probes.c | 164 + drivers

[PATCH 09/19] lttng: lib ring buffer clients

2011-11-25 Thread Mathieu Desnoyers
Each lttng buffer configuration (discard mode, overwrite mode, mmap support, splice support, per-cpu buffers, global buffer for metadata) is a lib ring buffer client. Signed-off-by: Mathieu Desnoyers --- .../staging/lttng/ltt-ring-buffer-client-discard.c | 21 + .../lttng/ltt-ring-buffer

[PATCH 06/19] lttng wrappers

2011-11-25 Thread Mathieu Desnoyers
Implement wrappers for compatibility with older kernel versions and kernels with had the libringbuffer (old) patchset applied. Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/wrapper/ftrace.h | 70 ++ drivers/staging/lttng/wrapper/inline_memcpy.h

[PATCH 05/19] lttng libs: add Makefile

2011-11-25 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/Makefile | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/Makefile diff --git a/drivers/staging/lttng/lib/Makefile b/drivers/staging/lttng/lib/Makefile new file

[PATCH 04/19] lttng: offset alignment header

2011-11-25 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/align.h | 61 + 1 files changed, 61 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/align.h diff --git a/drivers/staging/lttng/lib/align.h b/drivers/staging/lttng

[PATCH 03/19] lttng: BUILD_RUNTIME_BUG_ON

2011-11-25 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/bug.h | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/bug.h diff --git a/drivers/staging/lttng/lib/bug.h b/drivers/staging/lttng/lib/bug.h new

[PATCH 02/19] lttng lib: portable bitfield read/write header

2011-11-25 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- drivers/staging/lttng/lib/bitfield.h | 400 ++ 1 files changed, 400 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/lttng/lib/bitfield.h diff --git a/drivers/staging/lttng/lib/bitfield.h b/drivers/staging

  1   2   >