MCPcopy Create free account
hub / github.com/F-Stack/f-stack / get_socket_path

Function get_socket_path

dpdk/lib/telemetry/telemetry.c:454–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454static inline char *
455get_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
463static void
464unlink_sockets(void)

Callers 1

telemetry_v2_initFunction · 0.85

Calls 1

snprintfFunction · 0.85

Tested by

no test coverage detected