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:50:58 +0000 (10:50 -0500)
commitb36bb1a8d9cb32b6ce199f05f399b1ca639e240e
treec2e5462103f71a16819156ae48aba0f3e2e5e47a
parentfa91fcac4c680df04d6860ff365976d8ad08559b
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.02459 seconds and 5 git commands to generate.