| 452 | } |
| 453 | |
| 454 | static inline char * |
| 455 | get_socket_path(const char *runtime_dir, const int version) |
| 456 | { |
| 457 | static char path[PATH_MAX]; |
| 458 | snprintf(path, sizeof(path), "%s/dpdk_telemetry.v%d", |
| 459 | strlen(runtime_dir) ? runtime_dir : "/tmp", version); |
| 460 | return path; |
| 461 | } |
| 462 | |
| 463 | static void |
| 464 | unlink_sockets(void) |
no test coverage detected