From 6cacd9175901ed12659d1e042343da3321b004d5 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Thu, 11 Feb 2021 10:18:38 -0500 Subject: [PATCH] Move event-expr from liblttng-ctl to libcommon 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: I31c65cd7f63fa4e1c918285b02ab2ab2e82549f6 --- src/common/Makefile.am | 1 + src/{lib/lttng-ctl => common/event-expr}/event-expr.c | 2 -- src/lib/lttng-ctl/Makefile.am | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) rename src/{lib/lttng-ctl => common/event-expr}/event-expr.c (99%) diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 0885448b5..ca0973403 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -66,6 +66,7 @@ libcommon_la_SOURCES = \ error-query.c \ evaluation.c \ event.c \ + event-expr/event-expr.c \ event-expr-to-bytecode.c event-expr-to-bytecode.h \ event-field-value.c \ event-rule/event-rule.c \ diff --git a/src/lib/lttng-ctl/event-expr.c b/src/common/event-expr/event-expr.c similarity index 99% rename from src/lib/lttng-ctl/event-expr.c rename to src/common/event-expr/event-expr.c index 126f0ca34..c0ec2571b 100644 --- a/src/lib/lttng-ctl/event-expr.c +++ b/src/common/event-expr/event-expr.c @@ -1,8 +1,6 @@ /* * event-expr.c * - * Linux Trace Toolkit Control Library - * * Copyright (C) 2020 Philippe Proulx * * SPDX-License-Identifier: LGPL-2.1-only diff --git a/src/lib/lttng-ctl/Makefile.am b/src/lib/lttng-ctl/Makefile.am index 28aead7ad..8c271f5ef 100644 --- a/src/lib/lttng-ctl/Makefile.am +++ b/src/lib/lttng-ctl/Makefile.am @@ -9,7 +9,6 @@ lib_LTLIBRARIES = liblttng-ctl.la liblttng_ctl_la_SOURCES = lttng-ctl.c snapshot.c lttng-ctl-helper.h \ lttng-ctl-health.c save.c load.c deprecated-symbols.c \ channel.c rotate.c event.c destruction-handle.c clear.c \ - event-expr.c \ tracker.c liblttng_ctl_la_LDFLAGS = \ -- 2.34.1