summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-08-12 15:52:07 +0200
committerVasily Gorbik <gor@linux.ibm.com>2019-08-21 12:58:52 +0200
commitf45f7b5bdaa4828ce871cf03f7c01599a0de57a5 (patch)
tree395de5eef3a5529220a46473ab614bf4de149816 /tools/perf/scripts/python/exported-sql-viewer.py
parent2e83e0eb85ca62985406920f97ece36d822d421f (diff)
s390/kasan: provide uninstrumented __strlen
s390 kasan code uses sclp_early_printk to report initialization failures. The code doing that should not be instrumented, because kasan shadow memory has not been set up yet. Even though sclp_early_core.c is compiled with instrumentation disabled it uses strlen function, which is instrumented and would produce shadow memory access if used. To avoid that, introduce uninstrumented __strlen function to be used instead. Before commit 7e0d92f00246 ("s390/kasan: improve string/memory functions checks") few string functions (including strlen) were escaping kasan instrumentation due to usage of platform specific versions which are implemented in inline assembly. Fixes: 7e0d92f00246 ("s390/kasan: improve string/memory functions checks") Acked-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions