summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-libelf-getshdrstrndx.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2023-03-08 03:30:20 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-03-13 23:42:27 +0300
commit17535a33a9c1e4fb52f3db1d72a7ddbe4cea1a2e (patch)
tree2a47b6e2889d871d602985f7a7eaca139a6ac3c9 /tools/build/feature/test-libelf-getshdrstrndx.c
parente5af139715aaf17f25bc50638a7ca67973fce2af (diff)
downloadlinux-17535a33a9c1e4fb52f3db1d72a7ddbe4cea1a2e.tar.xz
perf lock contention: Fix compiler builtin detection
__has_builtin was passed the macro rather than the actual builtin feature. The builtin test isn't sufficient and a clang version test also needs to be performed. Fixes: 1bece1351c653c3d ("perf lock contention: Support old rw_semaphore type") Reviewed-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Ian Rogers <irogers@google.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Martin KaFai Lau <martin.lau@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: bpf@vger.kernel.org Link: https://lore.kernel.org/r/20230308003020.3653271-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/build/feature/test-libelf-getshdrstrndx.c')
0 files changed, 0 insertions, 0 deletions