From 5b88d86e2d45fed6d405fd9fb72d6c1c22d35374 Mon Sep 17 00:00:00 2001 From: Alexandre Montplaisir Date: Tue, 24 May 2011 18:32:51 -0400 Subject: [PATCH] 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 Signed-off-by: Mathieu Desnoyers --- instrumentation/events/lttng-module/block.h | 2 +- instrumentation/events/lttng-module/irq.h | 2 +- instrumentation/events/lttng-module/kvm.h | 2 +- instrumentation/events/lttng-module/lttng.h | 2 +- instrumentation/events/lttng-module/sched.h | 2 +- instrumentation/events/lttng-module/syscalls.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/instrumentation/events/lttng-module/block.h b/instrumentation/events/lttng-module/block.h index 1c48384e..5ecc95aa 100644 --- a/instrumentation/events/lttng-module/block.h +++ b/instrumentation/events/lttng-module/block.h @@ -616,5 +616,5 @@ TRACE_EVENT(block_rq_remap, #endif /* _TRACE_BLOCK_H */ /* This part must be outside protection */ -#include "define_trace.h" +#include "../../../probes/define_trace.h" diff --git a/instrumentation/events/lttng-module/irq.h b/instrumentation/events/lttng-module/irq.h index ac590c9c..344015d4 100644 --- a/instrumentation/events/lttng-module/irq.h +++ b/instrumentation/events/lttng-module/irq.h @@ -152,4 +152,4 @@ DEFINE_EVENT(softirq, softirq_raise, #endif /* _TRACE_IRQ_H */ /* This part must be outside protection */ -#include "define_trace.h" +#include "../../../probes/define_trace.h" diff --git a/instrumentation/events/lttng-module/kvm.h b/instrumentation/events/lttng-module/kvm.h index 43914b3e..e10455bc 100644 --- a/instrumentation/events/lttng-module/kvm.h +++ b/instrumentation/events/lttng-module/kvm.h @@ -309,4 +309,4 @@ TRACE_EVENT( #endif /* _TRACE_KVM_MAIN_H */ /* This part must be outside protection */ -#include "define_trace.h" +#include "../../../probes/define_trace.h" diff --git a/instrumentation/events/lttng-module/lttng.h b/instrumentation/events/lttng-module/lttng.h index 4cc14fc5..6f3d6d14 100644 --- a/instrumentation/events/lttng-module/lttng.h +++ b/instrumentation/events/lttng-module/lttng.h @@ -31,4 +31,4 @@ TRACE_EVENT(lttng_metadata, #endif /* _TRACE_LTTNG_H */ /* This part must be outside protection */ -#include "define_trace.h" +#include "../../../probes/define_trace.h" diff --git a/instrumentation/events/lttng-module/sched.h b/instrumentation/events/lttng-module/sched.h index 37debc3c..fd78f24a 100644 --- a/instrumentation/events/lttng-module/sched.h +++ b/instrumentation/events/lttng-module/sched.h @@ -397,4 +397,4 @@ TRACE_EVENT(sched_pi_setprio, #endif /* _TRACE_SCHED_H */ /* This part must be outside protection */ -#include "define_trace.h" +#include "../../../probes/define_trace.h" diff --git a/instrumentation/events/lttng-module/syscalls.h b/instrumentation/events/lttng-module/syscalls.h index 7392e988..e2f3bbd5 100644 --- a/instrumentation/events/lttng-module/syscalls.h +++ b/instrumentation/events/lttng-module/syscalls.h @@ -69,5 +69,5 @@ TRACE_EVENT(sys_exit, #endif /* _TRACE_EVENTS_SYSCALLS_H */ /* This part must be outside protection */ -#include "define_trace.h" +#include "../../../probes/define_trace.h" -- 2.34.1