| 2346 | } |
| 2347 | |
| 2348 | static int |
| 2349 | handle_app_stats(const char *cmd __rte_unused, |
| 2350 | const char *params __rte_unused, |
| 2351 | struct rte_tel_data *d) |
| 2352 | { |
| 2353 | uint64_t values[NUM_TELSTATS] = {0}; |
| 2354 | uint32_t i; |
| 2355 | |
| 2356 | rte_tel_data_start_dict(d); |
| 2357 | get_current_stat_values(values); |
| 2358 | for (i = 0; i < NUM_TELSTATS; i++) |
| 2359 | rte_tel_data_add_dict_uint(d, telstats_strings[i].name, |
| 2360 | values[i]); |
| 2361 | return 0; |
| 2362 | } |
| 2363 | |
| 2364 | static void |
| 2365 | telemetry_setup_timer(void) |
nothing calls this directly
no test coverage detected