Update net-trace probe for 2.6.37

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fix ltt-relay-alloc NULL pointer exception

repetitive load/unload of ltt-relay-alloc caused null pointer exception because
the cpu hotplug was never unregistered upon exit.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
net_dev_xmit_extended probe : cleanup unused data

Intialise the unused fields of the data structure and add support for
ports in UDP packets.

Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Updates for kernel 2.6.38

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
kvm-trace: fix warning (probe prototype mismatch)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lockdep trace: don't build probe if !CONFIG_LOCKDEP

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fix disabled channel timer start/stop handling

Should test if channels are active before calling timer start/stop,
otherwise causes NULL pointer exception.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Add dup probe to lttng module

This patch provides instrumentation for dup system call. It records the
oldfd and newfd if the operation succeed. This is required to recover in
the trace tre fd that newfd reference to.

Signed-off-by: Francis Giraldeau <francis.giraldeau@usherbrooke.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fix typo in tracepoint name

This patch fix a type in tracepoint definition of socket_sendmsg and
socket_recvmsg, that was preventing to appear in the trace.

Signed-off-by: Francis Giraldeau <francis.giraldeau@usherbrooke.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
softirq instrumentation: update prototypes

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-modules v0.19-stable: setup_trace_write: Fix recursive locking

lttng-modules: ltt_trace_destroy calls ltt_lock_traces internally so
this non-recursive mutex must be first unlocked when executing error
handling code.

Signed-off-by: Juha Niskanen <juha_niskanen@mentor.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>