From b13f3ebed2d2b80b450f72c12f684dc9e140ab40 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 11 May 2011 09:29:39 -0400 Subject: [PATCH] Rename symbols.h to vmalloc.h Signed-off-by: Mathieu Desnoyers --- lib/ringbuffer/ring_buffer_backend.c | 2 +- ltt-debugfs-abi.c | 2 +- ltt-events.c | 2 +- ltt-ring-buffer-client.h | 2 +- probes/lttng-events.h | 2 +- probes/lttng-types.c | 2 +- wrapper/{symbols.h => vmalloc.h} | 5 +++++ 7 files changed, 11 insertions(+), 6 deletions(-) rename wrapper/{symbols.h => vmalloc.h} (90%) diff --git a/lib/ringbuffer/ring_buffer_backend.c b/lib/ringbuffer/ring_buffer_backend.c index 2d272c77..2ddb9f99 100644 --- a/lib/ringbuffer/ring_buffer_backend.c +++ b/lib/ringbuffer/ring_buffer_backend.c @@ -16,7 +16,7 @@ #include #include -#include "../../wrapper/symbols.h" /* for wrapper_vmalloc_sync_all() */ +#include "../../wrapper/vmalloc.h" /* for wrapper_vmalloc_sync_all() */ #include "../../wrapper/ringbuffer/config.h" #include "../../wrapper/ringbuffer/backend.h" #include "../../wrapper/ringbuffer/frontend.h" diff --git a/ltt-debugfs-abi.c b/ltt-debugfs-abi.c index 4319ef3f..afee47c9 100644 --- a/ltt-debugfs-abi.c +++ b/ltt-debugfs-abi.c @@ -28,7 +28,7 @@ #include #include #include -#include "wrapper/symbols.h" /* for wrapper_vmalloc_sync_all() */ +#include "wrapper/vmalloc.h" /* for wrapper_vmalloc_sync_all() */ #include "wrapper/ringbuffer/vfs.h" #include "ltt-debugfs-abi.h" #include "ltt-events.h" diff --git a/ltt-events.c b/ltt-events.c index 9eb2c2f2..512e7a24 100644 --- a/ltt-events.c +++ b/ltt-events.c @@ -11,7 +11,7 @@ #include #include #include -#include "wrapper/symbols.h" /* for wrapper_vmalloc_sync_all() */ +#include "wrapper/vmalloc.h" /* for wrapper_vmalloc_sync_all() */ #include "ltt-events.h" static LIST_HEAD(sessions); diff --git a/ltt-ring-buffer-client.h b/ltt-ring-buffer-client.h index 00cac160..219f69be 100644 --- a/ltt-ring-buffer-client.h +++ b/ltt-ring-buffer-client.h @@ -10,7 +10,7 @@ #include #include -#include "wrapper/symbols.h" /* for wrapper_vmalloc_sync_all() */ +#include "wrapper/vmalloc.h" /* for wrapper_vmalloc_sync_all() */ #include "wrapper/trace-clock.h" #include "ltt-events.h" #include "ltt-tracer.h" diff --git a/probes/lttng-events.h b/probes/lttng-events.h index f697eadc..f031d450 100644 --- a/probes/lttng-events.h +++ b/probes/lttng-events.h @@ -1,7 +1,7 @@ #include #include #include -#include "../wrapper/symbols.h" /* for wrapper_vmalloc_sync_all() */ +#include "../wrapper/vmalloc.h" /* for wrapper_vmalloc_sync_all() */ #include "../wrapper/ringbuffer/frontend_types.h" #include "../ltt-events.h" #include "../ltt-tracer-core.h" diff --git a/probes/lttng-types.c b/probes/lttng-types.c index 7f9d20e5..c447b7de 100644 --- a/probes/lttng-types.c +++ b/probes/lttng-types.c @@ -11,7 +11,7 @@ #include #include /* tid_t */ #include -#include "../wrapper/symbols.h" /* for wrapper_vmalloc_sync_all() */ +#include "../wrapper/vmalloc.h" /* for wrapper_vmalloc_sync_all() */ #include "lttng-types.h" struct dentry *lttng_types_dentry; diff --git a/wrapper/symbols.h b/wrapper/vmalloc.h similarity index 90% rename from wrapper/symbols.h rename to wrapper/vmalloc.h index 523f553b..7d878556 100644 --- a/wrapper/symbols.h +++ b/wrapper/vmalloc.h @@ -1,3 +1,6 @@ +#ifndef _LTT_WRAPPER_VMALLOC_H +#define _LTT_WRAPPER_VMALLOC_H + /* * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com) * @@ -41,3 +44,5 @@ void wrapper_vmalloc_sync_all(void) return vmalloc_sync_all(); } #endif + +#endif /* _LTT_WRAPPER_VMALLOC_H */ -- 2.34.1