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 <david.marchand@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
Stephen Hemminger 2020-09-03 16:04:53 -07:00 committed by David Marchand
parent 64201f1059
commit 2adc121ef9
2 changed files with 1 additions and 5 deletions

View File

@ -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);
/**

View File

@ -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