From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4B473A056A; Wed, 10 Mar 2021 18:25:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6331422A3C3; Wed, 10 Mar 2021 18:24:55 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 9854A22A3AC for ; Wed, 10 Mar 2021 18:24:52 +0100 (CET) IronPort-SDR: tP1oVsgihD15O8gJNMJkUOgXBapq5vfp4H4cdS6Uh/4d1xP95EmEJ/cSWW3WQ6teHRxgNwsd9C vJXJO90LeIKA== X-IronPort-AV: E=McAfee;i="6000,8403,9919"; a="185164652" X-IronPort-AV: E=Sophos;i="5.81,237,1610438400"; d="scan'208";a="185164652" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2021 09:24:50 -0800 IronPort-SDR: v6r4RFR86Ykl255M56xa+QSNnVpf1f4TUm+SVQ8A7XgWemAcHjnlxBeoBDih8wmMxDT7ZIwiDL AuN362p0GZfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,237,1610438400"; d="scan'208";a="410271713" Received: from silpixa00399126.ir.intel.com ([10.237.223.188]) by orsmga008.jf.intel.com with ESMTP; 10 Mar 2021 09:24:49 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , Kevin Laatz Date: Wed, 10 Mar 2021 17:24:29 +0000 Message-Id: <20210310172430.412405-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210310172430.412405-1-bruce.richardson@intel.com> References: <20210310172430.412405-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 3/4] telemetry: create internal-only header file X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The header file containing the legacy telemetry function prototypes was all internal-only, so we rename the file to be an internal-only one to make it clearer it's not for installation. Signed-off-by: Bruce Richardson --- lib/librte_metrics/rte_metrics_telemetry.c | 2 +- lib/librte_telemetry/telemetry.c | 2 +- .../{rte_telemetry_legacy.h => telemetry_internal.h} | 6 +++--- lib/librte_telemetry/telemetry_legacy.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename lib/librte_telemetry/{rte_telemetry_legacy.h => telemetry_internal.h} (93%) diff --git a/lib/librte_metrics/rte_metrics_telemetry.c b/lib/librte_metrics/rte_metrics_telemetry.c index b8ee56ef01..bbc6a79f88 100644 --- a/lib/librte_metrics/rte_metrics_telemetry.c +++ b/lib/librte_metrics/rte_metrics_telemetry.c @@ -7,7 +7,7 @@ #include #include #ifdef RTE_LIB_TELEMETRY -#include +#include #endif #include "rte_metrics.h" diff --git a/lib/librte_telemetry/telemetry.c b/lib/librte_telemetry/telemetry.c index 18f2ae2e2f..c3c988e972 100644 --- a/lib/librte_telemetry/telemetry.c +++ b/lib/librte_telemetry/telemetry.c @@ -21,7 +21,7 @@ #include "rte_telemetry.h" #include "telemetry_json.h" #include "telemetry_data.h" -#include "rte_telemetry_legacy.h" +#include "telemetry_internal.h" #define MAX_CMD_LEN 56 #define MAX_HELP_LEN 64 diff --git a/lib/librte_telemetry/rte_telemetry_legacy.h b/lib/librte_telemetry/telemetry_internal.h similarity index 93% rename from lib/librte_telemetry/rte_telemetry_legacy.h rename to lib/librte_telemetry/telemetry_internal.h index fb44740186..ad076b9119 100644 --- a/lib/librte_telemetry/rte_telemetry_legacy.h +++ b/lib/librte_telemetry/telemetry_internal.h @@ -2,8 +2,8 @@ * Copyright(c) 2020 Intel Corporation */ -#ifndef _RTE_TELEMETRY_LEGACY_H_ -#define _RTE_TELEMETRY_LEGACY_H_ +#ifndef _RTE_TELEMETRY_INTERNAL_H_ +#define _RTE_TELEMETRY_INTERNAL_H_ #include #include "rte_telemetry.h" @@ -14,7 +14,7 @@ * @b EXPERIMENTAL: this API may change without prior notice * @file - * RTE Telemetry Legacy + * RTE Telemetry Legacy and internal definitions * ***/ diff --git a/lib/librte_telemetry/telemetry_legacy.c b/lib/librte_telemetry/telemetry_legacy.c index edd76ca359..5e9af37db1 100644 --- a/lib/librte_telemetry/telemetry_legacy.c +++ b/lib/librte_telemetry/telemetry_legacy.c @@ -15,7 +15,7 @@ #include #include -#include "rte_telemetry_legacy.h" +#include "telemetry_internal.h" #define MAX_LEN 128 #define BUF_SIZE 1024 -- 2.27.0