From 03bb2358875cfca96394e78357c96baaa1e91efa Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 25 Nov 2019 14:20:31 -0500 Subject: [PATCH] Move actions source files to src/common/actions directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Since more actions will be added, group them under an "actions" directory. The files to be added are expected to have some pretty generic/overloaded names, such as start-session.c and snapshot.c, so having them under the actions directory make it clear that they implement the action described by the name. Change-Id: Ia47160dd75531eb9bcf13f875f4bc6caa2391d7b Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau --- src/common/Makefile.am | 4 ++-- src/common/{ => actions}/action.c | 0 src/common/{ => actions}/notify.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/common/{ => actions}/action.c (100%) rename src/common/{ => actions}/notify.c (100%) diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 7ca180bd3..7ec0f52a5 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -27,7 +27,8 @@ noinst_LTLIBRARIES = libcommon.la EXTRA_DIST = mi-lttng-4.0.xsd libcommon_la_SOURCES = \ - action.c \ + actions/action.c \ + actions/notify.c \ buffer-usage.c \ buffer-view.h buffer-view.c \ common.h \ @@ -48,7 +49,6 @@ libcommon_la_SOURCES = \ location.c \ mi-lttng.c mi-lttng.h \ notification.c \ - notify.c \ optional.h \ pipe.c pipe.h \ readwrite.c readwrite.h \ diff --git a/src/common/action.c b/src/common/actions/action.c similarity index 100% rename from src/common/action.c rename to src/common/actions/action.c diff --git a/src/common/notify.c b/src/common/actions/notify.c similarity index 100% rename from src/common/notify.c rename to src/common/actions/notify.c -- 2.34.1