lttng-modules.git
12 years agoVersion 2.0-pre10 v2.0-pre10
Mathieu Desnoyers [Fri, 30 Sep 2011 15:49:24 +0000 (11:49 -0400)] 
Version 2.0-pre10

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agox86-32: override sys_mmap syscall instrumentation
Mathieu Desnoyers [Fri, 30 Sep 2011 15:49:31 +0000 (11:49 -0400)] 
x86-32: override sys_mmap syscall instrumentation

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix cast warning
Mathieu Desnoyers [Fri, 30 Sep 2011 15:42:24 +0000 (11:42 -0400)] 
Fix cast warning

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoVersion 2.0-pre9 v2.0-pre9
Mathieu Desnoyers [Thu, 29 Sep 2011 22:52:12 +0000 (18:52 -0400)] 
Version 2.0-pre9

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agox86 32 syscalls: fix !CONFIG_UID16
Mathieu Desnoyers [Thu, 29 Sep 2011 16:28:16 +0000 (12:28 -0400)] 
x86 32 syscalls: fix !CONFIG_UID16

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUse __string_from_user
Mathieu Desnoyers [Thu, 29 Sep 2011 15:56:49 +0000 (11:56 -0400)] 
Use __string_from_user

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd __string_from_user
Mathieu Desnoyers [Thu, 29 Sep 2011 15:55:12 +0000 (11:55 -0400)] 
Add __string_from_user

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoComplete comm -> procname change
Mathieu Desnoyers [Wed, 28 Sep 2011 00:58:09 +0000 (20:58 -0400)] 
Complete comm -> procname change

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRename "comm" context to "procname"
Mathieu Desnoyers [Wed, 28 Sep 2011 00:55:24 +0000 (20:55 -0400)] 
Rename "comm" context to "procname"

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFetch "type" name field for mount syscall
Mathieu Desnoyers [Tue, 27 Sep 2011 22:50:09 +0000 (18:50 -0400)] 
Fetch "type" name field for mount syscall

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCreate common override file for all architectures
Mathieu Desnoyers [Tue, 27 Sep 2011 22:47:38 +0000 (18:47 -0400)] 
Create common override file for all architectures

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoShrink stack size usage
Mathieu Desnoyers [Tue, 27 Sep 2011 22:35:42 +0000 (18:35 -0400)] 
Shrink stack size usage

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCleanup: remove unused lttng-compat-syscalls.c file
Mathieu Desnoyers [Tue, 27 Sep 2011 22:31:01 +0000 (18:31 -0400)] 
Cleanup: remove unused lttng-compat-syscalls.c file

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoSupport detailed compat syscalls on x86_64
Mathieu Desnoyers [Tue, 27 Sep 2011 22:29:16 +0000 (18:29 -0400)] 
Support detailed compat syscalls on x86_64

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix syscall table
Mathieu Desnoyers [Tue, 27 Sep 2011 17:56:30 +0000 (13:56 -0400)] 
Fix syscall table

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd disabled compat syscalls detail (work in progress)
Mathieu Desnoyers [Tue, 27 Sep 2011 17:53:32 +0000 (13:53 -0400)] 
Add disabled compat syscalls detail (work in progress)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd config compat support for detailed x86_32 syscalls
Mathieu Desnoyers [Tue, 27 Sep 2011 16:24:09 +0000 (12:24 -0400)] 
Add config compat support for detailed x86_32 syscalls

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoHandle newer 3.1+ perf API
Mathieu Desnoyers [Tue, 27 Sep 2011 15:52:53 +0000 (11:52 -0400)] 
Handle newer 3.1+ perf API

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd dummy x86-32 override headers
Mathieu Desnoyers [Tue, 27 Sep 2011 15:29:59 +0000 (11:29 -0400)] 
Add dummy x86-32 override headers

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoBind x86-32 syscall headers
Mathieu Desnoyers [Tue, 27 Sep 2011 15:28:56 +0000 (11:28 -0400)] 
Bind x86-32 syscall headers

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd x86-32 syscall headers
Mathieu Desnoyers [Tue, 27 Sep 2011 15:27:41 +0000 (11:27 -0400)] 
Add x86-32 syscall headers

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd check for KALLSYMS_ALL in syscall extraction script
Mathieu Desnoyers [Tue, 27 Sep 2011 15:16:03 +0000 (11:16 -0400)] 
Add check for KALLSYMS_ALL in syscall extraction script

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAutomate string extraction for syscalls
Mathieu Desnoyers [Tue, 27 Sep 2011 13:19:14 +0000 (09:19 -0400)] 
Automate string extraction for syscalls

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAutomate syscall filename/pathname extraction
Mathieu Desnoyers [Tue, 27 Sep 2011 12:35:11 +0000 (08:35 -0400)] 
Automate syscall filename/pathname extraction

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd exit to ring_buffer_frontend so module is unloadable
Mathieu Desnoyers [Tue, 27 Sep 2011 12:31:16 +0000 (08:31 -0400)] 
Add exit to ring_buffer_frontend so module is unloadable

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd sys_open filename (x86_64)
Mathieu Desnoyers [Tue, 27 Sep 2011 12:17:43 +0000 (08:17 -0400)] 
Add sys_open filename (x86_64)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd missing memcpy callback
Mathieu Desnoyers [Tue, 27 Sep 2011 12:15:29 +0000 (08:15 -0400)] 
Add missing memcpy callback

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agocopy_from_user and memset
Julien Desfossez [Tue, 27 Sep 2011 11:51:34 +0000 (07:51 -0400)] 
copy_from_user and memset

This patch provides the copy_from_user and memset operations for the lib
ringbuffer.

[ edit: tp_copy_string_from_user len parameter now excludes final \0 ]

Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd missing alignment after header write
Mathieu Desnoyers [Sun, 25 Sep 2011 03:25:26 +0000 (23:25 -0400)] 
Add missing alignment after header write

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolib ring buffer: add frontend init as module_init
Mathieu Desnoyers [Wed, 21 Sep 2011 14:14:20 +0000 (10:14 -0400)] 
lib ring buffer: add frontend init as module_init

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolib ring buffer frontend: add missing lock initialization
Mathieu Desnoyers [Wed, 21 Sep 2011 14:08:34 +0000 (10:08 -0400)] 
lib ring buffer frontend: add missing lock initialization

[...]
while enabling the events, I get following output:

[ 4304.827819] BUG: spinlock bad magic on CPU#1, ltt-sessiond/1305
[ 4304.841735]  lock: 81453c00, .magic: 00000000, .owner: <none>/-1,
.owner_cpu: 0
[ 4304.857421] [<800110ad>] (unwind_backtrace+0x1/0x90) from
[<8022c847>] (do_raw_spin_lock+0x17/0xfc)
[ 4304.875213] [<8022c847>] (do_raw_spin_lock+0x17/0xfc) from
[<7f97c30f>] (channel_create+0xd6/0x158 [lib_ring_buffer])
[ 4304.894866] [<7f97c30f>] (channel_create+0xd6/0x158
[lib_ring_buffer]) from [<7f99856b>] (_channel_create+0x28/0x32
[ltt_ring_buffer_client_discard])
[ 4304.917755] [<7f99856b>] (_channel_create+0x28/0x32
[ltt_ring_buffer_client_discard]) from [<7f98b507>]
(ltt_channel_create+0x12a/0x190 [ltt_relay])
[ 4304.940551] [<7f98b507>] (ltt_channel_create+0x12a/0x190 [ltt_relay])
from [<7f98c34b>] (lttng_abi_create_channel+0xba/0x158 [ltt_relay])
[ 4304.962341] [<7f98c34b>] (lttng_abi_create_channel+0xba/0x158
[ltt_relay]) from [<7f98c43f>] (lttng_session_ioctl+0x56/0x64 [ltt_relay])
[ 4304.984436] [<7f98c43f>] (lttng_session_ioctl+0x56/0x64 [ltt_relay])
from [<800baa49>] (do_vfs_ioctl+0x1a5/0x1dc)
[ 4305.004394] [<800baa49>] (do_vfs_ioctl+0x1a5/0x1dc) from [<800baab3>]
(sys_ioctl+0x33/0x4c)
[ 4305.022369] [<800baab3>] (sys_ioctl+0x33/0x4c) from [<8000c2c1>]
(ret_fast_syscall+0x1/0x50)
All kernel events are enabled in channel channel0

Reported-by: Avik Sil <avik.sil@linaro.org>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoARM: Set bit 0 for thumb mode in kallsyms_lookup_name returned address (missing file)
Avik Sil [Mon, 19 Sep 2011 16:38:52 +0000 (12:38 -0400)] 
ARM: Set bit 0 for thumb mode in kallsyms_lookup_name returned address (missing file)

Adding missing file in commit c539a324b020171c10d0fcb100892ac93c17e9e7

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoARM: Set bit 0 for thumb mode in kallsyms_lookup_name returned address
Avik Sil [Mon, 19 Sep 2011 14:59:59 +0000 (10:59 -0400)] 
ARM: Set bit 0 for thumb mode in kallsyms_lookup_name returned address

This patch fixes the undefined instruction oops due to execution
of thumb-2 code in ARM mode. The zero bit in the symbol address
returned by kallsyms_lookup_name is not set, leading to switching
to ARM mode that generates oops while executing thumb-2 code. For
detailed discussion, see [1].
[1] http://lists.casi.polymtl.ca/pipermail/ltt-dev/2011-September/005176.html

v1:
        - include wrapper function kallsyms_lookup_funcptr as suggested
        by Dave Martin

Signed-off-by: Avik Sil <avik.sil@linaro.org>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCreate override for sys_mmap
Mathieu Desnoyers [Mon, 19 Sep 2011 14:30:41 +0000 (10:30 -0400)] 
Create override for sys_mmap

based on mmap(2).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRename syscalls -> syscall in LTTng ABI
Mathieu Desnoyers [Mon, 19 Sep 2011 14:11:54 +0000 (10:11 -0400)] 
Rename syscalls -> syscall in LTTng ABI

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUse different event name for compat syscalls
Mathieu Desnoyers [Sat, 17 Sep 2011 17:28:35 +0000 (13:28 -0400)] 
Use different event name for compat syscalls

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAllow trace syscall table override
Mathieu Desnoyers [Sat, 17 Sep 2011 16:19:05 +0000 (12:19 -0400)] 
Allow trace syscall table override

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd dummy override files
Mathieu Desnoyers [Sat, 17 Sep 2011 16:00:04 +0000 (12:00 -0400)] 
Add dummy override files

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agosyscall detail: add override capability
Mathieu Desnoyers [Sat, 17 Sep 2011 15:59:43 +0000 (11:59 -0400)] 
syscall detail: add override capability

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd pointer pretty-print heuristics
Mathieu Desnoyers [Sat, 17 Sep 2011 15:47:33 +0000 (11:47 -0400)] 
Add pointer pretty-print heuristics

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd __field_hex
Mathieu Desnoyers [Sat, 17 Sep 2011 15:46:54 +0000 (11:46 -0400)] 
Add __field_hex

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRename sys exit errno into ret
Mathieu Desnoyers [Sat, 17 Sep 2011 15:11:53 +0000 (11:11 -0400)] 
Rename sys exit errno into ret

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoEnable detailed syscalls only for native x86_64
Mathieu Desnoyers [Sat, 17 Sep 2011 14:59:02 +0000 (10:59 -0400)] 
Enable detailed syscalls only for native x86_64

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUse "unknown" for compat syscalls
Mathieu Desnoyers [Sat, 17 Sep 2011 14:54:16 +0000 (10:54 -0400)] 
Use "unknown" for compat syscalls

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoDisable x86-64 specific detailed syscalls for now, until we deal with 32-bit compat
Mathieu Desnoyers [Sat, 17 Sep 2011 14:34:04 +0000 (10:34 -0400)] 
Disable x86-64 specific detailed syscalls for now, until we deal with 32-bit compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix syscall exit
Mathieu Desnoyers [Sat, 17 Sep 2011 14:29:08 +0000 (10:29 -0400)] 
Fix syscall exit

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix syscall exit tracing
Mathieu Desnoyers [Sat, 17 Sep 2011 14:00:56 +0000 (10:00 -0400)] 
Fix syscall exit tracing

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRemove unused variable
Mathieu Desnoyers [Sat, 17 Sep 2011 13:52:46 +0000 (09:52 -0400)] 
Remove unused variable

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix sys exit
Mathieu Desnoyers [Sat, 17 Sep 2011 13:52:16 +0000 (09:52 -0400)] 
Fix sys exit

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix unknown syscall support
Mathieu Desnoyers [Sat, 17 Sep 2011 13:47:24 +0000 (09:47 -0400)] 
Fix unknown syscall support

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoOnly enable detailed syscalls for x86_64 for now
Mathieu Desnoyers [Sat, 17 Sep 2011 13:12:09 +0000 (09:12 -0400)] 
Only enable detailed syscalls for x86_64 for now

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMerge unknown syscall method with extended detail method
Mathieu Desnoyers [Sat, 17 Sep 2011 13:09:36 +0000 (09:09 -0400)] 
Merge unknown syscall method with extended detail method

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd underscore prefix before event names
Mathieu Desnoyers [Sat, 17 Sep 2011 03:24:10 +0000 (23:24 -0400)] 
Add underscore prefix before event names

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd syscalls pointers detailed syscall tracing
Mathieu Desnoyers [Sat, 17 Sep 2011 03:01:33 +0000 (23:01 -0400)] 
Add syscalls pointers detailed syscall tracing

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUse perl for regexp
Mathieu Desnoyers [Sat, 17 Sep 2011 02:59:39 +0000 (22:59 -0400)] 
Use perl for regexp

Allows more than 9 backward refs.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoSupport generation of syscall probes for those with pointers
Mathieu Desnoyers [Sat, 17 Sep 2011 01:47:48 +0000 (21:47 -0400)] 
Support generation of syscall probes for those with pointers

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoSupport detailed syscalls with 0 arguments
Mathieu Desnoyers [Sat, 17 Sep 2011 01:01:39 +0000 (21:01 -0400)] 
Support detailed syscalls with 0 arguments

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agodetailed syscall tracing (work in progress)
Mathieu Desnoyers [Fri, 16 Sep 2011 23:11:44 +0000 (19:11 -0400)] 
detailed syscall tracing (work in progress)

Buidl disabled for now.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoExpose /proc/lttng file
Mathieu Desnoyers [Fri, 16 Sep 2011 21:51:02 +0000 (17:51 -0400)] 
Expose /proc/lttng file

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoImplement detailed syscall event probe
Mathieu Desnoyers [Fri, 16 Sep 2011 20:41:56 +0000 (16:41 -0400)] 
Implement detailed syscall event probe

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoDisable perf build for < 2.6.33 kernels
Mathieu Desnoyers [Fri, 16 Sep 2011 20:07:27 +0000 (16:07 -0400)] 
Disable perf build for < 2.6.33 kernels

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoSyscall detail mode: generate syscall table
Mathieu Desnoyers [Fri, 16 Sep 2011 17:27:35 +0000 (13:27 -0400)] 
Syscall detail mode: generate syscall table

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoblock instrumentation: write cmd as hex sequence
Mathieu Desnoyers [Fri, 16 Sep 2011 16:32:48 +0000 (12:32 -0400)] 
block instrumentation: write cmd as hex sequence

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolttng-events TRACE_EVENT generator cleanup
Mathieu Desnoyers [Fri, 16 Sep 2011 16:31:37 +0000 (12:31 -0400)] 
lttng-events TRACE_EVENT generator cleanup

Adds support for _hex variants while cleaning up and refactoring macros,
removing duplicatas.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoblock layer instrumentation: fix cmd field
Mathieu Desnoyers [Fri, 16 Sep 2011 14:48:22 +0000 (10:48 -0400)] 
block layer instrumentation: fix cmd field

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRemove 0 args syscalls for now from type-aware syscall cb generator
Mathieu Desnoyers [Fri, 16 Sep 2011 02:08:20 +0000 (22:08 -0400)] 
Remove 0 args syscalls for now from type-aware syscall cb generator

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoGenerate trace syscall table macros
Mathieu Desnoyers [Fri, 16 Sep 2011 02:04:23 +0000 (22:04 -0400)] 
Generate trace syscall table macros

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agostandardize on "syscalls"
Mathieu Desnoyers [Thu, 15 Sep 2011 23:13:34 +0000 (19:13 -0400)] 
standardize on "syscalls"

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoPut syscall tracing without arg types back in place
Mathieu Desnoyers [Thu, 15 Sep 2011 23:11:49 +0000 (19:11 -0400)] 
Put syscall tracing without arg types back in place

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoRevert to working code for now
Mathieu Desnoyers [Thu, 15 Sep 2011 23:10:06 +0000 (19:10 -0400)] 
Revert to working code for now

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoDetailed system call tracing (TRACE_EVENT() generation for integer support)
Mathieu Desnoyers [Thu, 15 Sep 2011 23:06:40 +0000 (19:06 -0400)] 
Detailed system call tracing (TRACE_EVENT() generation for integer support)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agolttng events probes: don't clash with "ctx" variable name
Mathieu Desnoyers [Thu, 15 Sep 2011 23:05:00 +0000 (19:05 -0400)] 
lttng events probes: don't clash with "ctx" variable name

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMerge branch 'master' of ssh://git.lttng.org/home/git/lttng-modules
Mathieu Desnoyers [Thu, 15 Sep 2011 18:26:50 +0000 (14:26 -0400)] 
Merge branch 'master' of ssh://git.lttng.org/home/git/lttng-modules

12 years agolib ring buffer must take private pointer copy before decrementing refcount
Mathieu Desnoyers [Fri, 26 Aug 2011 15:52:22 +0000 (11:52 -0400)] 
lib ring buffer must take private pointer copy before decrementing refcount

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoChangeLog for v2.0-pre8 v2.0-pre8
Mathieu Desnoyers [Wed, 17 Aug 2011 00:24:52 +0000 (20:24 -0400)] 
ChangeLog for v2.0-pre8

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix metadata buffer wait/wakeup
Mathieu Desnoyers [Tue, 16 Aug 2011 17:02:50 +0000 (13:02 -0400)] 
Fix metadata buffer wait/wakeup

The metadata producer should be waiting on its own wait queue, woken up
when the consumer position is moved by the consumer.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd changelog v2.0-pre7
Mathieu Desnoyers [Fri, 12 Aug 2011 15:22:55 +0000 (11:22 -0400)] 
Add changelog

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd missing module refcount to lttng_tracepoint_list_fops
Mathieu Desnoyers [Wed, 10 Aug 2011 20:04:54 +0000 (16:04 -0400)] 
Add missing module refcount to lttng_tracepoint_list_fops

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd license info about lib/ringbuffer/ring_buffer_mmap.c being GPLv2
Mathieu Desnoyers [Tue, 9 Aug 2011 14:47:19 +0000 (10:47 -0400)] 
Add license info about lib/ringbuffer/ring_buffer_mmap.c being GPLv2

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix calibrate: add noinline
Mathieu Desnoyers [Sat, 6 Aug 2011 06:30:42 +0000 (02:30 -0400)] 
Fix calibrate: add noinline

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCalibrate namespacing
Mathieu Desnoyers [Fri, 5 Aug 2011 21:11:54 +0000 (17:11 -0400)] 
Calibrate namespacing

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoMerge branch 'master' of ssh://git.lttng.org/home/git/lttng-modules
Mathieu Desnoyers [Fri, 5 Aug 2011 19:49:20 +0000 (15:49 -0400)] 
Merge branch 'master' of ssh://git.lttng.org/home/git/lttng-modules

12 years agoUpdate ring buffer frontend comment wrt code change
Mathieu Desnoyers [Thu, 4 Aug 2011 18:05:08 +0000 (14:05 -0400)] 
Update ring buffer frontend comment wrt code change

Teardown does not wait for readers anymore: it just decrements the
refcount.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate metadata header to CTF 1.8
Mathieu Desnoyers [Wed, 3 Aug 2011 17:40:36 +0000 (13:40 -0400)] 
Update metadata header to CTF 1.8

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoCommit timestamp guarantees
Mathieu Desnoyers [Wed, 3 Aug 2011 01:12:00 +0000 (21:12 -0400)] 
Commit timestamp guarantees

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd info about kretprobes
Mathieu Desnoyers [Sat, 30 Jul 2011 02:21:07 +0000 (22:21 -0400)] 
Add info about kretprobes

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate calibration v2.0-pre4
Mathieu Desnoyers [Fri, 29 Jul 2011 16:08:38 +0000 (12:08 -0400)] 
Update calibration

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd calibration ioctl
Mathieu Desnoyers [Fri, 29 Jul 2011 16:06:10 +0000 (12:06 -0400)] 
Add calibration ioctl

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd kretprobe support
Mathieu Desnoyers [Thu, 28 Jul 2011 22:41:03 +0000 (18:41 -0400)] 
Add kretprobe support

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate ftrace wrapper
Mathieu Desnoyers [Thu, 28 Jul 2011 19:16:17 +0000 (15:16 -0400)] 
Update ftrace wrapper

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoPerf counter support: check if busy v2.0-pre3
Mathieu Desnoyers [Thu, 28 Jul 2011 16:40:20 +0000 (12:40 -0400)] 
Perf counter support: check if busy

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate readme: discuss perf counters
Mathieu Desnoyers [Thu, 28 Jul 2011 15:05:06 +0000 (11:05 -0400)] 
Update readme: discuss perf counters

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix context order: stream before event
Mathieu Desnoyers [Thu, 28 Jul 2011 14:50:15 +0000 (10:50 -0400)] 
Fix context order: stream before event

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoLTTng kprobes support: fix empty symbol name handling
Mathieu Desnoyers [Wed, 27 Jul 2011 19:54:43 +0000 (15:54 -0400)] 
LTTng kprobes support: fix empty symbol name handling

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoPerf counter context info needs to be at fixed addresses v2.0-pre2
Mathieu Desnoyers [Tue, 26 Jul 2011 15:40:12 +0000 (11:40 -0400)] 
Perf counter context info needs to be at fixed addresses

Fixes a kernel oops when using perf counter with multiple contexts. The
cpu hotplug notifier callback needs to have the callback notifier block
at a fixed address, but the context array may move as it is expanded.

The reason why we use a context array instead of an array of pointers is
to minimize the amount of memory accesses in the tracing hot path.

Let's special-case perf counters and put them in their own memory region
to account for cpu hotplug requirements.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agocontext: document and check that only last context is removed
Mathieu Desnoyers [Sat, 23 Jul 2011 16:37:54 +0000 (12:37 -0400)] 
context: document and check that only last context is removed

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoUpdate readme v2.0-pre1
Mathieu Desnoyers [Fri, 22 Jul 2011 19:54:28 +0000 (15:54 -0400)] 
Update readme

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agosched instrumentation: show user-visible prio
Mathieu Desnoyers [Thu, 21 Jul 2011 20:07:24 +0000 (16:07 -0400)] 
sched instrumentation: show user-visible prio

/proc exports task_prio priority (offset - MAX_RT_PRIO). Export the
user-visible priority from scheduler events rather than the
implementation-specific priority.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoscheduler instrumentation: rename "pid" fields to "tid"
Mathieu Desnoyers [Thu, 21 Jul 2011 19:48:51 +0000 (15:48 -0400)] 
scheduler instrumentation: rename "pid" fields to "tid"

The Linux getpid(), gettid() ABIs present "tid == thread id" and "pid ==
process id".

The internal Linux kernel representation is "pid == thread id" and "tgid
== process id".

Given that we want to expose an ABI to end-users that matches the
vision of user-space (rather than that of the implementation), use "tid"
field names to represent thread ids in the sched events.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoBuild fix: check if have syscall tracepoint config
Mathieu Desnoyers [Thu, 21 Jul 2011 19:00:26 +0000 (15:00 -0400)] 
Build fix: check if have syscall tracepoint config

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
This page took 0.040044 seconds and 4 git commands to generate.