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 D384CA0A02; Fri, 26 Mar 2021 09:25:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5302040685; Fri, 26 Mar 2021 09:25:05 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 152B94067B for ; Fri, 26 Mar 2021 09:25:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616747103; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=J0CSHSDyNnP+qdms0jCHqlUWG5a/ZMwyfLT14c17xxg=; b=O7rTrci+/O5VryqcpTgH9CUC1JdyVIC+GWh4/XZXuIjASxqhGB5wETlrmL+rVQMJ19ELhE tNzJcMoT5y81Fd2aT5WY+YkgVC3nHPCBMq9yvvQbdR4xwbWRseODjaWsaWsNEF9jI2GW7c teN9wdfJ2c7M2hrTrcp98Aav+ZouLZ0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-389-BPltOKNnPyWYbumzNL84sw-1; Fri, 26 Mar 2021 04:24:58 -0400 X-MC-Unique: BPltOKNnPyWYbumzNL84sw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7C82D80006E; Fri, 26 Mar 2021 08:24:57 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.193.233]) by smtp.corp.redhat.com (Postfix) with ESMTP id EACE510013D7; Fri, 26 Mar 2021 08:24:55 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Ciara Power , Bruce Richardson Date: Fri, 26 Mar 2021 09:24:47 +0100 Message-Id: <20210326082447.16109-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-dev] [PATCH] telemetry: cleanup internal header 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 experimental banner can be removed. Every in-tree file is compiled with _GNU_SOURCE, so RTE_HAS_CPUSET is unneeded for an internal header. Fixes: 0e64ae618e10 ("telemetry: move init function to internal header") Signed-off-by: David Marchand --- lib/librte_telemetry/rte_telemetry.h | 1 - lib/librte_telemetry/telemetry_internal.h | 9 ++------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/librte_telemetry/rte_telemetry.h b/lib/librte_telemetry/rte_telemetry.h index fd57718c26..031db9e968 100644 --- a/lib/librte_telemetry/rte_telemetry.h +++ b/lib/librte_telemetry/rte_telemetry.h @@ -6,7 +6,6 @@ #include #include -#include #ifndef _RTE_TELEMETRY_H_ #define _RTE_TELEMETRY_H_ diff --git a/lib/librte_telemetry/telemetry_internal.h b/lib/librte_telemetry/telemetry_internal.h index 6c52006040..d085c492dc 100644 --- a/lib/librte_telemetry/telemetry_internal.h +++ b/lib/librte_telemetry/telemetry_internal.h @@ -6,13 +6,12 @@ #define _RTE_TELEMETRY_INTERNAL_H_ #include +#include #include "rte_telemetry.h" /** * @internal - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - + * * @file * RTE Telemetry Legacy and internal definitions * @@ -84,8 +83,6 @@ rte_telemetry_legacy_register(const char *cmd, enum rte_telemetry_legacy_data_req data_req, telemetry_legacy_cb fn); -#ifdef RTE_HAS_CPUSET - /** * @internal * Log function type, to allow passing as parameter if necessary @@ -115,6 +112,4 @@ int rte_telemetry_init(const char *runtime_dir, const char *rte_version, rte_cpuset_t *cpuset, rte_log_fn log_fn, uint32_t registered_logtype); -#endif /* RTE_HAS_CPUSET */ - #endif -- 2.23.0