diff options
| author | Ian Rogers <[email protected]> | 2023-03-08 00:30:20 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-03-13 20:42:27 +0000 |
| commit | 17535a33a9c1e4fb52f3db1d72a7ddbe4cea1a2e (patch) | |
| tree | 2a47b6e2889d871d602985f7a7eaca139a6ac3c9 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | perf cs-etm: Avoid printing warning in cs_etm_is_ete() check (diff) | |
| download | kernel-17535a33a9c1e4fb52f3db1d72a7ddbe4cea1a2e.tar.gz kernel-17535a33a9c1e4fb52f3db1d72a7ddbe4cea1a2e.zip | |
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 <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Martin KaFai Lau <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
