diff options
author | Mark Rutland <[email protected]> | 2021-06-07 10:46:23 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-06-07 11:35:56 +0100 |
commit | bf6fa2c0dda751863c3446aa64d733013bec4a19 (patch) | |
tree | 0e94d5c49177a4e87f7c05c4335a5982c7a56d40 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 6ecbc78c3d06a3e7a4676f348a52f1c533d88464 (diff) |
arm64: entry: don't instrument entry code with KCOV
The code in entry-common.c runs at exception entry and return
boundaries, where portions of the kernel environment aren't available.
For example, RCU may not be watching, and lockdep state may be
out-of-sync with the hardware. Due to this, it is not sound to
instrument this code.
We generally avoid instrumentation by marking the entry functions as
`noinstr`, but currently this doesn't inhibit KCOV instrumentation.
Prevent this by disabling KCOV for the entire compilation unit.
Signed-off-by: Mark Rutland <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Cc: James Morse <[email protected]>
Cc: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions