git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ipc: end multiprocess thread during cleanup
[dpdk.git]
/
lib
/
telemetry
/
rte_telemetry.h
diff --git
a/lib/telemetry/rte_telemetry.h
b/lib/telemetry/rte_telemetry.h
index
9d1bdb2
..
7bca8a9
100644
(file)
--- a/
lib/telemetry/rte_telemetry.h
+++ b/
lib/telemetry/rte_telemetry.h
@@
-3,7
+3,6
@@
*/
#include <stdint.h>
*/
#include <stdint.h>
-#include <sched.h>
#include <rte_compat.h>
#include <rte_compat.h>
@@
-24,10
+23,6
@@
*
* RTE Telemetry.
*
*
* RTE Telemetry.
*
- * @warning
- * @b EXPERIMENTAL:
- * All functions in this file may be changed or removed without prior notice.
- *
* The telemetry library provides a method to retrieve statistics from
* DPDK by sending a request message over a socket. DPDK will send
* a JSON encoded response containing telemetry data.
* The telemetry library provides a method to retrieve statistics from
* DPDK by sending a request message over a socket. DPDK will send
* a JSON encoded response containing telemetry data.
@@
-59,7
+54,6
@@
enum rte_tel_value_type {
* @return
* 0 on success, negative errno on error
*/
* @return
* 0 on success, negative errno on error
*/
-__rte_experimental
int
rte_tel_data_start_array(struct rte_tel_data *d, enum rte_tel_value_type type);
int
rte_tel_data_start_array(struct rte_tel_data *d, enum rte_tel_value_type type);
@@
-71,7
+65,6
@@
rte_tel_data_start_array(struct rte_tel_data *d, enum rte_tel_value_type type);
* @return
* 0 on success, negative errno on error
*/
* @return
* 0 on success, negative errno on error
*/
-__rte_experimental
int
rte_tel_data_start_dict(struct rte_tel_data *d);
int
rte_tel_data_start_dict(struct rte_tel_data *d);
@@
-85,7
+78,6
@@
rte_tel_data_start_dict(struct rte_tel_data *d);
* @return
* 0 on success, negative errno on error, E2BIG on string truncation
*/
* @return
* 0 on success, negative errno on error, E2BIG on string truncation
*/
-__rte_experimental
int
rte_tel_data_string(struct rte_tel_data *d, const char *str);
int
rte_tel_data_string(struct rte_tel_data *d, const char *str);
@@
-101,7
+93,6
@@
rte_tel_data_string(struct rte_tel_data *d, const char *str);
* @return
* 0 on success, negative errno on error, E2BIG on string truncation
*/
* @return
* 0 on success, negative errno on error, E2BIG on string truncation
*/
-__rte_experimental
int
rte_tel_data_add_array_string(struct rte_tel_data *d, const char *str);
int
rte_tel_data_add_array_string(struct rte_tel_data *d, const char *str);
@@
-117,7
+108,6
@@
rte_tel_data_add_array_string(struct rte_tel_data *d, const char *str);
* @return
* 0 on success, negative errno on error
*/
* @return
* 0 on success, negative errno on error
*/
-__rte_experimental
int
rte_tel_data_add_array_int(struct rte_tel_data *d, int x);
int
rte_tel_data_add_array_int(struct rte_tel_data *d, int x);
@@
-133,7
+123,6
@@
rte_tel_data_add_array_int(struct rte_tel_data *d, int x);
* @return
* 0 on success, negative errno on error
*/
* @return
* 0 on success, negative errno on error
*/
-__rte_experimental
int
rte_tel_data_add_array_u64(struct rte_tel_data *d, uint64_t x);
int
rte_tel_data_add_array_u64(struct rte_tel_data *d, uint64_t x);
@@
-154,7
+143,6
@@
rte_tel_data_add_array_u64(struct rte_tel_data *d, uint64_t x);
* @return
* 0 on success, negative errno on error
*/
* @return
* 0 on success, negative errno on error
*/
-__rte_experimental
int
rte_tel_data_add_array_container(struct rte_tel_data *d,
struct rte_tel_data *val, int keep);
int
rte_tel_data_add_array_container(struct rte_tel_data *d,
struct rte_tel_data *val, int keep);
@@
-173,7
+161,6
@@
rte_tel_data_add_array_container(struct rte_tel_data *d,
* 0 on success, negative errno on error, E2BIG on string truncation of
* either name or value.
*/
* 0 on success, negative errno on error, E2BIG on string truncation of
* either name or value.
*/
-__rte_experimental
int
rte_tel_data_add_dict_string(struct rte_tel_data *d, const char *name,
const char *val);
int
rte_tel_data_add_dict_string(struct rte_tel_data *d, const char *name,
const char *val);
@@
-191,7
+178,6
@@
rte_tel_data_add_dict_string(struct rte_tel_data *d, const char *name,
* @return
* 0 on success, negative errno on error, E2BIG on string truncation of name.
*/
* @return
* 0 on success, negative errno on error, E2BIG on string truncation of name.
*/
-__rte_experimental
int
rte_tel_data_add_dict_int(struct rte_tel_data *d, const char *name, int val);
int
rte_tel_data_add_dict_int(struct rte_tel_data *d, const char *name, int val);
@@
-208,7
+194,6
@@
rte_tel_data_add_dict_int(struct rte_tel_data *d, const char *name, int val);
* @return
* 0 on success, negative errno on error, E2BIG on string truncation of name.
*/
* @return
* 0 on success, negative errno on error, E2BIG on string truncation of name.
*/
-__rte_experimental
int
rte_tel_data_add_dict_u64(struct rte_tel_data *d,
const char *name, uint64_t val);
int
rte_tel_data_add_dict_u64(struct rte_tel_data *d,
const char *name, uint64_t val);
@@
-232,7
+217,6
@@
rte_tel_data_add_dict_u64(struct rte_tel_data *d,
* @return
* 0 on success, negative errno on error
*/
* @return
* 0 on success, negative errno on error
*/
-__rte_experimental
int
rte_tel_data_add_dict_container(struct rte_tel_data *d, const char *name,
struct rte_tel_data *val, int keep);
int
rte_tel_data_add_dict_container(struct rte_tel_data *d, const char *name,
struct rte_tel_data *val, int keep);
@@
-285,7
+269,6
@@
typedef void * (*handler)(void *sock_id);
* @return
* -ENOMEM for mem allocation failure.
*/
* @return
* -ENOMEM for mem allocation failure.
*/
-__rte_experimental
int
rte_telemetry_register_cmd(const char *cmd, telemetry_cb fn, const char *help);
int
rte_telemetry_register_cmd(const char *cmd, telemetry_cb fn, const char *help);
@@
-297,7
+280,6
@@
rte_telemetry_register_cmd(const char *cmd, telemetry_cb fn, const char *help);
* @return
* Pointer to a container.
*/
* @return
* Pointer to a container.
*/
-__rte_experimental
struct rte_tel_data *
rte_tel_data_alloc(void);
struct rte_tel_data *
rte_tel_data_alloc(void);
@@
-309,7
+291,6
@@
rte_tel_data_alloc(void);
* Pointer to container.
*.
*/
* Pointer to container.
*.
*/
-__rte_experimental
void
rte_tel_data_free(struct rte_tel_data *data);
void
rte_tel_data_free(struct rte_tel_data *data);