Re: [PATCH 0/3] tools: add gettid to libc_compat.h

From: Ian Rogers
Date: Thu Jul 22 2021 - 19:31:57 EST


On Thu, Jul 22, 2021 at 8:34 AM Riccardo Mancini <rickyman7@xxxxxxxxx> wrote:
>
> Hi Arnaldo,
>
> following our previous discussion on workqueue RFC patchset, I'm sending
> this patchet to add gettid to tools/include/tools/libc_compat.h.
> This new definition will replace existing uses and will be used by the
> workqueue code.
>
> Thanks,
> Riccardo
>
> Riccardo Mancini (3):
> tools libc_compat: add gettid
> perf jvmti: use gettid from libc_compat
> perf test: mmap-thread-lookup: use gettid
>
> tools/include/tools/libc_compat.h | 7 +++++++
> tools/perf/jvmti/jvmti_agent.c | 9 +--------
> tools/perf/tests/mmap-thread-lookup.c | 4 ++--
> 3 files changed, 10 insertions(+), 10 deletions(-)

All 3 patches look like great cleanup, thanks!

Acked-by: Ian Rogers <irogers@xxxxxxxxxx>

Thanks,
Ian