Mathieu Desnoyers [Wed, 25 May 2011 23:06:53 +0000 (19:06 -0400)]
Add context support with metadata description
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 25 May 2011 22:15:38 +0000 (18:15 -0400)]
Write context fields into trace
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 25 May 2011 21:33:56 +0000 (17:33 -0400)]
Add PID context
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 25 May 2011 21:20:30 +0000 (17:20 -0400)]
Add context management infrastructure
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 25 May 2011 18:57:01 +0000 (14:57 -0400)]
Return error if subbuffer size is lower than a page
... gentler than a warning and a crash.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 25 May 2011 18:52:29 +0000 (14:52 -0400)]
Use lttng_ prefixed namespace for lttng prio heap
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 25 May 2011 02:19:43 +0000 (22:19 -0400)]
Fix module get/put handling wrt data free (use after free)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 25 May 2011 02:18:57 +0000 (22:18 -0400)]
Tracepoint list ABI: fix initialization of anonymous file
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Alexandre Montplaisir [Tue, 24 May 2011 22:32:51 +0000 (18:32 -0400)]
Specify the complete paths to define_trace.h
The "make" command used by DKMS does not cd into every directory like
"make modules" seems to do. This patch allows compilation for both
methods.
Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 17:22:35 +0000 (13:22 -0400)]
Add missing mutex to event list
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 17:09:18 +0000 (13:09 -0400)]
tp list: seq release should be used instead of seq release private
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 16:20:48 +0000 (12:20 -0400)]
Add tracepoint listing ABI
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 15:37:06 +0000 (11:37 -0400)]
Handle refcount of modules having dynamically alloc event description
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 15:36:52 +0000 (11:36 -0400)]
Change event creation errval to EINVAL
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 15:02:37 +0000 (11:02 -0400)]
Update lttng ABI
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 14:17:08 +0000 (10:17 -0400)]
Fix ftrace integration
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 13:02:07 +0000 (09:02 -0400)]
Always use module-local ring buffer
We are doing modifications currently, so don't take chances using an
externally packaged ring buffer.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 03:50:38 +0000 (23:50 -0400)]
Fix ftrace.h wrapper
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 03:48:10 +0000 (23:48 -0400)]
lttng-ftrace module can be unloaded safely
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 03:02:47 +0000 (23:02 -0400)]
Update ftrace symbol lookup
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 02:36:23 +0000 (22:36 -0400)]
Update ABI
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 02:35:05 +0000 (22:35 -0400)]
Update ABI
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 02:25:25 +0000 (22:25 -0400)]
Add function tracer ABI
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 24 May 2011 01:04:42 +0000 (21:04 -0400)]
Add heap debug option, fix heap.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 23 May 2011 21:49:12 +0000 (17:49 -0400)]
No need to rebalance heap for insertion
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 23 May 2011 21:37:51 +0000 (17:37 -0400)]
Fix prio heap insertion and reallocation handling
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 23 May 2011 20:08:42 +0000 (16:08 -0400)]
Add unused attribute to prio heap parent
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 23 May 2011 20:07:18 +0000 (16:07 -0400)]
prio heap default alloc min value fix
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 23 May 2011 19:56:32 +0000 (15:56 -0400)]
Make prio heap dynamically sized
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 23 May 2011 16:13:26 +0000 (12:13 -0400)]
Remove GPL heapify implementation
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 23 May 2011 16:13:08 +0000 (12:13 -0400)]
prio heap API change (size of element)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 23 May 2011 16:03:41 +0000 (12:03 -0400)]
Implement missing prio heap functions (MIT-licensed)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 23 May 2011 15:28:58 +0000 (11:28 -0400)]
Remove GPL code from prio_heap
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 23 May 2011 14:58:06 +0000 (10:58 -0400)]
Fix extended header bug
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sun, 22 May 2011 15:56:51 +0000 (11:56 -0400)]
Update ring buffer and pretty print
Now enforce using module-local lib ring buffer (there are changes that
require it).
Pretty print array and dynamic array containing text.
Handle large event count.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sun, 22 May 2011 14:04:47 +0000 (10:04 -0400)]
Comment buffer creation behavior wrt packet headers
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sun, 22 May 2011 05:16:50 +0000 (01:16 -0400)]
Write event header
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sun, 22 May 2011 04:56:10 +0000 (00:56 -0400)]
Fix metadata header
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 21 May 2011 22:02:01 +0000 (18:02 -0400)]
Fix metadata
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 21 May 2011 20:42:36 +0000 (16:42 -0400)]
Fix metadata, change ABI (for better future extensibility)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 21 May 2011 19:19:57 +0000 (15:19 -0400)]
update metadata formatting
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 21 May 2011 19:13:32 +0000 (15:13 -0400)]
LTTng metadata fix
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 21 May 2011 17:45:43 +0000 (13:45 -0400)]
Fix teardown event vs session
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 21 May 2011 17:08:26 +0000 (13:08 -0400)]
Fix metadata event arg (null pointer exception)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 21 May 2011 16:27:50 +0000 (12:27 -0400)]
kprobes and ftrace support build fixes
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 21 May 2011 16:27:06 +0000 (12:27 -0400)]
Set metadata pointer earlier
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 21 May 2011 01:33:54 +0000 (21:33 -0400)]
LTTng performance monitoring counters integration (work in progress)
Integrate with Perf counters. Adds context fields to the events
recorded. Currently, cpu hotplug is still not supported, and the
callbacks are not called from the tracing code. It gives the rough idea
how to add context fields to events on either:
- per trace session
- per stream class
- per event type
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 21 May 2011 00:59:00 +0000 (20:59 -0400)]
Take care of units in description for ftrace and kprobes
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 20 May 2011 23:40:09 +0000 (19:40 -0400)]
lttng kprobes/ftrace integration: fix memleak
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 20 May 2011 23:17:48 +0000 (19:17 -0400)]
Fix !CONFIG_KPROBES config
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 19 May 2011 21:21:16 +0000 (17:21 -0400)]
Add units to debugfs abi header
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 19 May 2011 04:35:59 +0000 (00:35 -0400)]
Add vmalloc sync all calls in ftrace and kprobes modules
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 19 May 2011 04:23:38 +0000 (00:23 -0400)]
Fix incorrect typing in channel create
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 19 May 2011 04:17:21 +0000 (00:17 -0400)]
LTTng ftrace support module should be unloadable
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 19 May 2011 03:57:08 +0000 (23:57 -0400)]
Fix ftrace support
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 19 May 2011 03:46:54 +0000 (23:46 -0400)]
Function tracer support
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 19 May 2011 02:55:16 +0000 (22:55 -0400)]
kprobes support: fix handling of event description
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 19 May 2011 02:05:24 +0000 (22:05 -0400)]
Add event description for each kprobe event
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 19 May 2011 01:16:07 +0000 (21:16 -0400)]
Add kprobes support
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 18 May 2011 23:56:24 +0000 (19:56 -0400)]
Add read version ABI ioctl
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 18 May 2011 23:45:22 +0000 (19:45 -0400)]
Use LTTNG_KERNEL_* namespace for exported header
Also add lttng kprobes ABI.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 18 May 2011 23:26:58 +0000 (19:26 -0400)]
Add syscall tracing
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 18 May 2011 22:50:26 +0000 (18:50 -0400)]
Fix bitfield.h include directory
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 18 May 2011 17:57:42 +0000 (13:57 -0400)]
Update stream packet and event headers
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 18 May 2011 15:22:05 +0000 (11:22 -0400)]
unregister event when FD is closed
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 17 May 2011 12:06:54 +0000 (08:06 -0400)]
trace_uuid -> uuid
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 14 May 2011 16:59:11 +0000 (12:59 -0400)]
Packet headers and alignment
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 14 May 2011 15:20:52 +0000 (11:20 -0400)]
Add metadata channel, basic test passes
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 14 May 2011 14:35:32 +0000 (10:35 -0400)]
Fix teardown deadlock
Don't wait on the readers from the session teardown anymore, because if
the only thread that can complete reading the buffer is the same waiting
on this condition, it deadlocks.
If the session daemon needs to wait on consumers, it can always do that
in user-space through some other mechanism.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 14 May 2011 14:01:22 +0000 (10:01 -0400)]
Add sequence and array
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 14 May 2011 13:53:04 +0000 (09:53 -0400)]
Metadata generation (partial)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 13 May 2011 12:00:14 +0000 (08:00 -0400)]
Use -EIO as tsc value for nmi error (and drop event)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 13 May 2011 08:24:30 +0000 (04:24 -0400)]
Keep event description registry instead of just name callback mapping
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 13 May 2011 07:29:57 +0000 (03:29 -0400)]
Move declarations to global header
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 16:18:45 +0000 (12:18 -0400)]
Add metadata transport
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 15:25:40 +0000 (11:25 -0400)]
Update nohz
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 15:05:23 +0000 (11:05 -0400)]
Fix nohz support
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 15:02:20 +0000 (11:02 -0400)]
Fix prototype check
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 14:56:53 +0000 (10:56 -0400)]
Pull trace event headers into lttng modules tree
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 13:35:35 +0000 (09:35 -0400)]
Add splice_to_pipe wrapper
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 13:29:39 +0000 (09:29 -0400)]
Rename symbols.h to vmalloc.h
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 13:24:54 +0000 (09:24 -0400)]
Remove dependency on vmalloc_sync_all symbol
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 04:46:12 +0000 (00:46 -0400)]
Add explicit vmalloc_sync_all
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 04:35:51 +0000 (00:35 -0400)]
Import lib ring buffer into LTTng modules
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 03:21:03 +0000 (23:21 -0400)]
Cleanup makefile
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 03:16:21 +0000 (23:16 -0400)]
Add fallback wrapper for kernels without CONFIG_HAVE_TRACE_CLOCK
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 03:12:46 +0000 (23:12 -0400)]
Fix const warning
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2011 02:44:29 +0000 (22:44 -0400)]
Cleanup lttng-events.h probe init/exit
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 10 May 2011 18:37:41 +0000 (14:37 -0400)]
Add METADATA ioctl
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 18 Apr 2011 16:34:29 +0000 (12:34 -0400)]
Update PREAD fix
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 18 Apr 2011 16:27:35 +0000 (12:27 -0400)]
Set FMODE_PREAD for stream_file
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 17 Jan 2011 06:55:38 +0000 (01:55 -0500)]
Rename the "discard" directory to "deprecated"
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 17 Jan 2011 06:55:08 +0000 (01:55 -0500)]
Remove deprecated code
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 17 Jan 2011 05:06:07 +0000 (00:06 -0500)]
Support perf TP_*() macros, add missing interrupt.h include
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 17 Jan 2011 05:05:28 +0000 (00:05 -0500)]
Remove dependencies on old ltt-core.h header
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 23 Dec 2010 16:58:04 +0000 (11:58 -0500)]
Add session active test
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 23 Dec 2010 16:54:39 +0000 (11:54 -0500)]
Remove old commented code from lttng-events.h
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 23 Dec 2010 16:43:52 +0000 (11:43 -0500)]
Interface ABI with probe list
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Dec 2010 18:04:25 +0000 (13:04 -0500)]
Add callback registration to TRACE_EVENT
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 22 Dec 2010 17:45:51 +0000 (12:45 -0500)]
Add probe registry
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
This page took 0.051925 seconds and 5 git commands to generate.