| 125 | } |
| 126 | |
| 127 | static int |
| 128 | json_info(const char *cmd __rte_unused, const char *params __rte_unused, |
| 129 | struct rte_tel_data *d) |
| 130 | { |
| 131 | rte_tel_data_start_dict(d); |
| 132 | rte_tel_data_add_dict_string(d, "version", telemetry_version); |
| 133 | rte_tel_data_add_dict_int(d, "pid", getpid()); |
| 134 | rte_tel_data_add_dict_int(d, "max_output_len", MAX_OUTPUT_LEN); |
| 135 | return 0; |
| 136 | } |
| 137 | |
| 138 | static int |
| 139 | command_help(const char *cmd __rte_unused, const char *params, |
nothing calls this directly
no test coverage detected