[PATCH v4 2/4] eal: remove thread getname API
Jerin Jacob
jerinjacobk at gmail.com
Tue Jan 17 08:49:25 CET 2023
On Sat, Jan 14, 2023 at 12:22 AM Tyler Retzlaff
<roretzla at linux.microsoft.com> wrote:
>
> Remove the rte_thread_getname API. The API is __rte_experimental and
> requires no deprecation notice.
>
> Fold the platform specific variants into the one place it is used as a
> special case to retain the functionality for linux only.
>
> void
> __rte_trace_mem_per_thread_alloc(void)
> {
> @@ -356,7 +369,7 @@ rte_trace_mode rte_trace_mode_get(void)
> /* Store the thread name */
> char *name = header->stream_header.thread_name;
> memset(name, 0, __RTE_TRACE_EMIT_STRING_LEN_MAX);
> - rte_thread_getname(pthread_self(), name,
> + rte_thread_get_name(rte_thread_self(), name,
Since it's a local function. Please change thread_get_name or so?
More information about the dev
mailing list