summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Build
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2023-02-24 09:59:41 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-03-02 21:54:22 -0800
commit85f195b12d8b769fa14ef37aa8a5e6bd07458122 (patch)
tree388193aab7487780f7862109db2967f6f940a5e1 /tools/perf/scripts/python/Perf-Trace-Util/Build
parent36be5cba99f6f9984a9a9f0454f95a38f4184d3e (diff)
downloadkernel-85f195b12d8b769fa14ef37aa8a5e6bd07458122.tar.gz
kasan: test: fix test for new meminstrinsic instrumentation
The tests for memset/memmove have been failing since they haven't been instrumented in 69d4c0d32186. Fix the test to recognize when memintrinsics aren't instrumented, and skip test cases accordingly. We also need to conditionally pass -fno-builtin to the test, otherwise the instrumentation pass won't recognize memintrinsics and end up not instrumenting them either. Link: https://lkml.kernel.org/r/20230224085942.1791837-3-elver@google.com Fixes: 69d4c0d32186 ("entry, kasan, x86: Disallow overriding mem*() functions") Reported-by: Linux Kernel Functional Testing <lkft@linaro.org> Signed-off-by: Marco Elver <elver@google.com> Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com> Tested-by: Linux Kernel Functional Testing <lkft@linaro.org> Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org> Cc: Alexander Potapenko <glider@google.com> Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com> Cc: Borislav Petkov (AMD) <bp@alien8.de> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jakub Jelinek <jakub@redhat.com> Cc: Kees Cook <keescook@chromium.org> Cc: Nathan Chancellor <nathan@kernel.org> Cc: Nick Desaulniers <ndesaulniers@google.com> Cc: Nicolas Schier <nicolas@fjasle.eu> Cc: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vincenzo Frascino <vincenzo.frascino@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Build')
0 files changed, 0 insertions, 0 deletions
sary <arpa/inet.h> inclusionMasahiro Yamada 2018-01-08fixdep: exit with error code in error branches of do_config_file()Lukas Bulwahn 2017-08-10fixdep: trivial: typo fix and correctionCao jin 2017-08-10kbuild: trivial cleanups on the commentsCao jin 2016-08-24fixdep: faster CONFIG_ searchAlexey Dobriyan 2016-07-22scripts: Fix size mismatch of kexec_purgatory_sizeTautschnig, Michael 2016-03-29kbuild: add fine grained build dependencies for exported symbolsNicolas Pitre 2016-03-29fixdep: accept extra dependencies on stdinNicolas Pitre 2016-02-17kbuild: fixdep: Check fstat(2) return valueTom Rini 2015-12-07fixdep: constify strrcmp argumentsNicolas Iooss 2015-08-24kbuild: fixdep: drop meaningless hash table initializationMasahiro Yamada 2015-08-24kbuild: fixdep: optimize code slightlyMasahiro Yamada