From c53279a3e7796da67c5ad8d5e5657bf03def2dcb Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 24 Mar 2021 15:28:18 -0400 Subject: [PATCH] cleanup: rename template headers Rename the ring buffer client template headers to make it more obvious they are templates and not regular headers. Change-Id: I0916331d32c8602edf92615e92efec45a4b0ee1e Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- liblttng-ust/Makefile.am | 4 ++-- liblttng-ust/lttng-ring-buffer-client-discard-rt.c | 2 +- liblttng-ust/lttng-ring-buffer-client-discard.c | 2 +- liblttng-ust/lttng-ring-buffer-client-overwrite-rt.c | 2 +- liblttng-ust/lttng-ring-buffer-client-overwrite.c | 2 +- ...ng-buffer-client.h => lttng-ring-buffer-client-template.h} | 0 ...-client.h => lttng-ring-buffer-metadata-client-template.h} | 0 liblttng-ust/lttng-ring-buffer-metadata-client.c | 2 +- 8 files changed, 7 insertions(+), 7 deletions(-) rename liblttng-ust/{lttng-ring-buffer-client.h => lttng-ring-buffer-client-template.h} (100%) rename liblttng-ust/{lttng-ring-buffer-metadata-client.h => lttng-ring-buffer-metadata-client-template.h} (100%) diff --git a/liblttng-ust/Makefile.am b/liblttng-ust/Makefile.am index 42362e72..a3c6df33 100644 --- a/liblttng-ust/Makefile.am +++ b/liblttng-ust/Makefile.am @@ -112,12 +112,12 @@ liblttng_ust_support_la_SOURCES = \ getenv.c \ lttng-ust-dynamic-type.c \ lttng-rb-clients.h \ - lttng-ring-buffer-client.h \ + lttng-ring-buffer-client-template.h \ lttng-ring-buffer-client-discard.c \ lttng-ring-buffer-client-discard-rt.c \ lttng-ring-buffer-client-overwrite.c \ lttng-ring-buffer-client-overwrite-rt.c \ - lttng-ring-buffer-metadata-client.h \ + lttng-ring-buffer-metadata-client-template.h \ lttng-ring-buffer-metadata-client.c \ lttng-counter-client.h \ lttng-counter-client-percpu-32-modular.c \ diff --git a/liblttng-ust/lttng-ring-buffer-client-discard-rt.c b/liblttng-ust/lttng-ring-buffer-client-discard-rt.c index c76ce9df..131ab639 100644 --- a/liblttng-ust/lttng-ring-buffer-client-discard-rt.c +++ b/liblttng-ust/lttng-ring-buffer-client-discard-rt.c @@ -20,4 +20,4 @@ lttng_ring_buffer_client_discard_rt_exit #define LTTNG_CLIENT_TYPE LTTNG_CLIENT_DISCARD_RT #define LTTNG_CLIENT_WAKEUP RING_BUFFER_WAKEUP_BY_TIMER -#include "lttng-ring-buffer-client.h" +#include "lttng-ring-buffer-client-template.h" diff --git a/liblttng-ust/lttng-ring-buffer-client-discard.c b/liblttng-ust/lttng-ring-buffer-client-discard.c index 9031c2f2..e7f605c3 100644 --- a/liblttng-ust/lttng-ring-buffer-client-discard.c +++ b/liblttng-ust/lttng-ring-buffer-client-discard.c @@ -20,4 +20,4 @@ lttng_ring_buffer_client_discard_exit #define LTTNG_CLIENT_TYPE LTTNG_CLIENT_DISCARD #define LTTNG_CLIENT_WAKEUP RING_BUFFER_WAKEUP_BY_WRITER -#include "lttng-ring-buffer-client.h" +#include "lttng-ring-buffer-client-template.h" diff --git a/liblttng-ust/lttng-ring-buffer-client-overwrite-rt.c b/liblttng-ust/lttng-ring-buffer-client-overwrite-rt.c index e27f8bdd..32a13130 100644 --- a/liblttng-ust/lttng-ring-buffer-client-overwrite-rt.c +++ b/liblttng-ust/lttng-ring-buffer-client-overwrite-rt.c @@ -20,4 +20,4 @@ lttng_ring_buffer_client_overwrite_rt_exit #define LTTNG_CLIENT_TYPE LTTNG_CLIENT_OVERWRITE_RT #define LTTNG_CLIENT_WAKEUP RING_BUFFER_WAKEUP_BY_TIMER -#include "lttng-ring-buffer-client.h" +#include "lttng-ring-buffer-client-template.h" diff --git a/liblttng-ust/lttng-ring-buffer-client-overwrite.c b/liblttng-ust/lttng-ring-buffer-client-overwrite.c index da4c946c..d550aa20 100644 --- a/liblttng-ust/lttng-ring-buffer-client-overwrite.c +++ b/liblttng-ust/lttng-ring-buffer-client-overwrite.c @@ -20,4 +20,4 @@ lttng_ring_buffer_client_overwrite_exit #define LTTNG_CLIENT_TYPE LTTNG_CLIENT_OVERWRITE #define LTTNG_CLIENT_WAKEUP RING_BUFFER_WAKEUP_BY_WRITER -#include "lttng-ring-buffer-client.h" +#include "lttng-ring-buffer-client-template.h" diff --git a/liblttng-ust/lttng-ring-buffer-client.h b/liblttng-ust/lttng-ring-buffer-client-template.h similarity index 100% rename from liblttng-ust/lttng-ring-buffer-client.h rename to liblttng-ust/lttng-ring-buffer-client-template.h diff --git a/liblttng-ust/lttng-ring-buffer-metadata-client.h b/liblttng-ust/lttng-ring-buffer-metadata-client-template.h similarity index 100% rename from liblttng-ust/lttng-ring-buffer-metadata-client.h rename to liblttng-ust/lttng-ring-buffer-metadata-client-template.h diff --git a/liblttng-ust/lttng-ring-buffer-metadata-client.c b/liblttng-ust/lttng-ring-buffer-metadata-client.c index 46c5dbd3..248b8dba 100644 --- a/liblttng-ust/lttng-ring-buffer-metadata-client.c +++ b/liblttng-ust/lttng-ring-buffer-metadata-client.c @@ -16,4 +16,4 @@ #define RING_BUFFER_MODE_TEMPLATE_EXIT \ lttng_ring_buffer_metadata_client_exit #define LTTNG_CLIENT_TYPE LTTNG_CLIENT_METADATA -#include "lttng-ring-buffer-metadata-client.h" +#include "lttng-ring-buffer-metadata-client-template.h" -- 2.34.1