* 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()
> &
* 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
* 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
> >
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
> >
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
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
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
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
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
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
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
* 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
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
* 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:
* 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
> >
* 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
* 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
* 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
* 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
* 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
* 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
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
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
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 |
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
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
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
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
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
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
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
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
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
* 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
* 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
* 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
* 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
&
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
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
_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
* 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
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
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
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
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
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 |
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
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
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
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
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
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
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
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.
-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
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
; ^
> 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_
* 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
* 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
* 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 ++
> &
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
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
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
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
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
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
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
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
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
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
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
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
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!
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
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
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
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
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
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
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
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
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
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 - 100 of 101 matches
Mail list logo