[PATCH v4 2/4] eal: remove thread getname API
Tyler Retzlaff
roretzla at linux.microsoft.com
Tue Jan 17 19:22:06 CET 2023
On Tue, Jan 17, 2023 at 01:19:25PM +0530, Jerin Jacob wrote:
> 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?
done
More information about the dev
mailing list