telemetry: cleanup internal header
PATCH 1/1 telemetry: cleanup internal header
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.
--- lib/librte_telemetry/rte_telemetry.h | 1 - lib/librte_telemetry/telemetry_internal.h | 9 ++------- 2 files changed, 2 insertions(+), 8 deletions(-)
lib/librte_telemetry/rte_telemetry.h +0 -1
@@ -6,7 +6,6 @@#include <sched.h> #include <rte_compat.h> -#include <rte_os.h> #ifndef _RTE_TELEMETRY_H_#define _RTE_TELEMETRY_H_
lib/librte_telemetry/telemetry_internal.h +2 -7
@@ -6,13 +6,12 @@#define _RTE_TELEMETRY_INTERNAL_H_#include <rte_compat.h> +#include <rte_os.h> #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
Signature · 1 line
2.23.0
26/03/2021 09:24, David Marchand:
Quoted 7 lines
The experimental banner can be removed.
Every in-tree file is compiled with_GNU_SOURCE, soRTE_HAS_CPUSETis unneeded for an internal header.Fixes 0e64ae618e10 ("telemetry: move init function to internal header")Signed-off-by David Marchand <[email protected]>
good catches, thank you
Bruce Richardson
Acked-byQuoted 5 lines · Thomas Monjalon
26/03/2021 09:24, David Marchand:
Quoted 4 lines
The experimental banner can be removed.
Every in-tree file is compiled with_GNU_SOURCE, soRTE_HAS_CPUSETis unneeded for an internal header.
Quoted 8 lines
Quoted 3 lines
Fixes 0e64ae618e10 ("telemetry: move init function to internal header")Signed-off-by David Marchand <[email protected]>good catches, thank you
Acked-by Thomas Monjalon <[email protected]>
+1 thanks.
Power, Ciara
Acked-byQuoted 18 lines
-----Original Message-----
From: Richardson, Bruce <[email protected]>
Sent: Friday 26 March 2021 10:32
To: Thomas Monjalon <[email protected]>
Cc: David Marchand <[email protected]>; [email protected]; Power, Ciara <[email protected]>
Subject: Re: [dpdk-dev] [PATCH] telemetry: cleanup internal headerQuoted 8 lines · Thomas Monjalon
26/03/2021 09:24, David Marchand:
Quoted 7 lines
The experimental banner can be removed.
Every in-tree file is compiled with_GNU_SOURCE, soRTE_HAS_CPUSETis unneeded for an internal header.Fixes 0e64ae618e10 ("telemetry: move init function to internalheader")
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Signed-off-by David Marchand <[email protected]>good catches, thank you
Acked-by Thomas Monjalon <[email protected]>+1 thanks.
Acked-by Bruce Richardson <[email protected]>
Thanks David,
David Marchand
Acked-by Thomas Monjalon Acked-by Bruce Richardson Acked-by Ciara Power on v1 1/1 AppliedQuoted 8 lines · David Marchand
The experimental banner can be removed.
Every in-tree file is compiled with_GNU_SOURCE, soRTE_HAS_CPUSETis unneeded for an internal header.Fixes 0e64ae618e10 ("telemetry: move init function to internal header")Signed-off-by David Marchand <[email protected]>
Applied.
Signature · 1 line
David Marchand