Fix: rename kvm x86 TRACE_SYSTEM to avoid name clash
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Mar 2016 15:49:52 +0000 (10:49 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Mar 2016 15:52:05 +0000 (10:52 -0500)
commit07192b7485c041a61b69fa187fd09cb1e0f6bebc
tree7f9940ab1a2117269fd2e86d8e4ac68334375de8
parent95a5790ea89d5cd9815ad811cfa17c957afcd6e2
Fix: rename kvm x86 TRACE_SYSTEM to avoid name clash

The lttng-probe-kvm and lttng-probe-kvm-x86 have the same TRACE_SYSTEM
string. Because of that, both modules can't be loaded at the same time.
The second module fails to load silently. Rename the TRACE_SYSTEM of
lttng-probe-kvm-x86 to avoid the clash.

We need to use the LTTNG_TRACEPOINT_EVENT_MAP to perform this
namespacing while still hooking onto the kernel tracepoints.

Fixes #895

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/arch/x86/kvm/trace.h
This page took 0.026717 seconds and 4 git commands to generate.