numam-dpdk/lib/telemetry
Bruce Richardson 85e21b77d8 telemetry: fix socket path conflicts for in-memory mode
When running using in-memory mode, multiple processes can use the same
runtime dir, leading to conflicts with the telemetry sockets in that
directory. We can resolve this by appending a suffix to each socket
beyond the first, with the suffix being an increasing counter value.
Each process uses the first unused socket counter value.

Fixes: 6dd571fd07 ("telemetry: introduce new functionality")

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Ciara Power <ciara.power@intel.com>
Acked-by: Kevin Traynor <ktraynor@redhat.com>
Tested-by: Conor Walsh <conor.walsh@intel.com>
2021-10-14 20:31:10 +02:00
..
meson.build
rte_telemetry.h telemetry: promote API to stable 2021-10-01 17:17:28 +02:00
telemetry_data.c telemetry: support dict of dicts 2021-09-23 14:15:29 +02:00
telemetry_data.h
telemetry_internal.h
telemetry_json.h telemetry: fix JSON output buffer length 2021-10-13 18:17:24 +02:00
telemetry_legacy.c telemetry: detach threads 2021-10-01 14:50:16 +02:00
telemetry.c telemetry: fix socket path conflicts for in-memory mode 2021-10-14 20:31:10 +02:00
version.map telemetry: promote API to stable 2021-10-01 17:17:28 +02:00