diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2020-04-29 14:09:04 -0500 |
---|---|---|
committer | Josh Poimboeuf <jpoimboe@redhat.com> | 2020-05-20 08:30:43 -0500 |
commit | ae033f088f277efd5b3c6d681ce9e7682380efff (patch) | |
tree | 8de9341cdd012f0ac9117dcdd39b16900a02cb9e /tools/perf/scripts/python/check-perf-trace.py | |
parent | 9d907f1ae80b8a67d5397e26912b9d56d0b70a02 (diff) |
objtool: Add check_kcov_mode() to the uaccess safelist
check_kcov_mode() is called by write_comp_data() and
__sanitizer_cov_trace_pc(), which are already on the uaccess safe list.
It's notrace and doesn't call out to anything else, so add it to the
list too.
This fixes the following warnings:
kernel/kcov.o: warning: objtool: __sanitizer_cov_trace_pc()+0x15: call to check_kcov_mode() with UACCESS enabled
kernel/kcov.o: warning: objtool: write_comp_data()+0x1b: call to check_kcov_mode() with UACCESS enabled
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions