From ad63a966ae7a204528fa77599f92100d7341be7a Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 19 Apr 2021 22:06:33 -0400 Subject: [PATCH] Rename group action files to list files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau Change-Id: Iea4c2fe0a2d7001e8c05b4bb33c24e5641b193b0 --- include/Makefile.am | 4 ++-- include/lttng/action/{group-internal.h => list-internal.h} | 0 include/lttng/action/{group.h => list.h} | 0 include/lttng/lttng.h | 2 +- src/bin/lttng-sessiond/action-executor.c | 4 ++-- src/bin/lttng-sessiond/notification-thread-events.c | 2 +- src/common/Makefile.am | 2 +- src/common/actions/action.c | 2 +- src/common/actions/{group.c => list.c} | 4 ++-- src/common/error-query.c | 2 +- tests/regression/tools/notification/base_client.c | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) rename include/lttng/action/{group-internal.h => list-internal.h} (100%) rename include/lttng/action/{group.h => list.h} (100%) rename src/common/actions/{group.c => list.c} (99%) diff --git a/include/Makefile.am b/include/Makefile.am index 1ced46c2b..a49d37d5c 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -126,7 +126,7 @@ lttnginclude_HEADERS = \ lttngactioninclude_HEADERS= \ lttng/action/action.h \ - lttng/action/group.h \ + lttng/action/list.h \ lttng/action/notify.h \ lttng/action/rotate-session.h \ lttng/action/snapshot-session.h \ @@ -158,7 +158,7 @@ lttngeventruleinclude_HEADERS= \ noinst_HEADERS = \ lttng/action/action-internal.h \ - lttng/action/group-internal.h \ + lttng/action/list-internal.h \ lttng/action/notify-internal.h \ lttng/action/rotate-session-internal.h \ lttng/action/snapshot-session-internal.h \ diff --git a/include/lttng/action/group-internal.h b/include/lttng/action/list-internal.h similarity index 100% rename from include/lttng/action/group-internal.h rename to include/lttng/action/list-internal.h diff --git a/include/lttng/action/group.h b/include/lttng/action/list.h similarity index 100% rename from include/lttng/action/group.h rename to include/lttng/action/list.h diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index 67267f7b7..0ee2d2abd 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -17,7 +17,7 @@ /* Include every LTTng ABI/API available. */ #include -#include +#include #include #include #include diff --git a/src/bin/lttng-sessiond/action-executor.c b/src/bin/lttng-sessiond/action-executor.c index cbcd08b5f..aa55782e2 100644 --- a/src/bin/lttng-sessiond/action-executor.c +++ b/src/bin/lttng-sessiond/action-executor.c @@ -16,8 +16,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c index d1b1ca017..9e4ad7cb8 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.c +++ b/src/bin/lttng-sessiond/notification-thread-events.c @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 4ea732e01..df278fa47 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -35,7 +35,7 @@ EXTRA_DIST = mi-lttng-4.0.xsd libcommon_la_SOURCES = \ actions/action.c \ - actions/group.c \ + actions/list.c \ actions/notify.c \ actions/rotate-session.c \ actions/snapshot-session.c \ diff --git a/src/common/actions/action.c b/src/common/actions/action.c index 1c1049ebe..f9236c878 100644 --- a/src/common/actions/action.c +++ b/src/common/actions/action.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/common/actions/group.c b/src/common/actions/list.c similarity index 99% rename from src/common/actions/group.c rename to src/common/actions/list.c index fd3e65fcc..4c325df84 100644 --- a/src/common/actions/group.c +++ b/src/common/actions/list.c @@ -12,8 +12,8 @@ #include #include #include -#include -#include +#include +#include #define IS_GROUP_ACTION(action) \ (lttng_action_get_type(action) == LTTNG_ACTION_TYPE_GROUP) diff --git a/src/common/error-query.c b/src/common/error-query.c index 266597b3d..a3663ad7c 100644 --- a/src/common/error-query.c +++ b/src/common/error-query.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/tests/regression/tools/notification/base_client.c b/tests/regression/tools/notification/base_client.c index ae150500e..bb12410e8 100644 --- a/tests/regression/tools/notification/base_client.c +++ b/tests/regression/tools/notification/base_client.c @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include #include -- 2.34.1