From: Stephen Hemminger Date: Thu, 3 Sep 2020 23:04:53 +0000 (-0700) Subject: log: promote rte_log_get_stream as stable X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2adc121ef9ffefcd3b4f6c337b628a613faf8e3e;p=dpdk.git log: promote rte_log_get_stream as stable Applications will need to use this API now to get internal state of rte_log. Suggested-by: David Marchand Signed-off-by: Stephen Hemminger Signed-off-by: David Marchand --- diff --git a/lib/librte_eal/include/rte_log.h b/lib/librte_eal/include/rte_log.h index eaf66e4f61..70f8c216c7 100644 --- a/lib/librte_eal/include/rte_log.h +++ b/lib/librte_eal/include/rte_log.h @@ -103,16 +103,12 @@ extern struct rte_logs rte_logs; int rte_openlog_stream(FILE *f); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Retrieve the stream used by the logging system (see rte_openlog_stream() * to change it). * * @return * Pointer to the stream. */ -__rte_experimental FILE *rte_log_get_stream(void); /** diff --git a/lib/librte_eal/rte_eal_version.map b/lib/librte_eal/rte_eal_version.map index 0b18e2ef85..0564f2fdc7 100644 --- a/lib/librte_eal/rte_eal_version.map +++ b/lib/librte_eal/rte_eal_version.map @@ -109,6 +109,7 @@ DPDK_21 { rte_log_dump; rte_log_get_global_level; rte_log_get_level; + rte_log_get_stream; rte_log_register; rte_log_set_global_level; rte_log_set_level; @@ -330,7 +331,6 @@ EXPERIMENTAL { rte_rand_max; # added in 19.11 - rte_log_get_stream; rte_mcfg_get_single_file_segments; # added in 20.02