From 6bc654432e118601d676876d83964b604758bf3a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 18 Jun 2022 10:18:27 +0200 Subject: pkg/report: skip atomic functions For some reason gcc stopped inlining atomic/bitops functions on a 5.4 kernel (see add test reports). Skip all atomic/bitops functions from these files: https://elixir.bootlin.com/linux/latest/source/include/linux/atomic/atomic-instrumented.h https://elixir.bootlin.com/linux/latest/source/include/asm-generic/bitops/instrumented-atomic.h https://elixir.bootlin.com/linux/latest/source/include/asm-generic/bitops/instrumented-lock.h --- pkg/report/linux.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index c67e5458f..bdc5418a7 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -1060,7 +1060,8 @@ var linuxStackParams = &stackParams{ "mutex_remove_waiter", "osq_lock", "osq_unlock", - "atomic_dec", + "atomic(64)?_(dec|inc|read|set|or|xor|and|add|sub|fetch|xchg|cmpxchg|try)", + "(set|clear|change|test)_bit", "__wake_up", "refcount_add", "refcount_sub", -- cgit mrf-deployment