telemetry: cleanup internal header
authorDavid Marchand <david.marchand@redhat.com>
Fri, 26 Mar 2021 08:24:47 +0000 (09:24 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 26 Mar 2021 16:17:45 +0000 (17:17 +0100)
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 <david.marchand@redhat.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Ciara Power <ciara.power@intel.com>
lib/librte_telemetry/rte_telemetry.h
lib/librte_telemetry/telemetry_internal.h

index fd57718c262590edf0b42a3c946964fcf98007ea..031db9e96843001065d06e7f007cfbc99f6a1f93 100644 (file)
@@ -6,7 +6,6 @@
 #include <sched.h>
 
 #include <rte_compat.h>
-#include <rte_os.h>
 
 #ifndef _RTE_TELEMETRY_H_
 #define _RTE_TELEMETRY_H_
index 6c520060408bbdd009d876d6fa10da442eee494f..d085c492dc6510487f043e4470b6dd596315cbce 100644 (file)
@@ -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