Re: [PATCH bpf-next] selftests/bench: use syscall(SYS_gettid) as libc support for gettid() is sometimes absent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Fri, 22 Mar 2024 09:57:28 +0000 you wrote:
> With glibc 2.28, selftests compilation fails for benchs/bench_trigger.c:
> 
> benchs/bench_trigger.c: In function ‘inc_counter’:
> benchs/bench_trigger.c:25:23: error: implicit declaration of function ‘gettid’; did you mean ‘getgid’? [-Werror=implicit-function-declaration]
>    25 |                 tid = gettid();
>       |                       ^~~~~~
>       |                       getgid
> cc1: all warnings being treated as errors
> 
> [...]

Here is the summary with links:
  - [bpf-next] selftests/bench: use syscall(SYS_gettid) as libc support for gettid() is sometimes absent
    https://git.kernel.org/bpf/bpf-next/c/1684d6eb99e4

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux