diff options
author | Guo Ren <[email protected]> | 2023-02-21 22:30:17 -0500 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2023-03-23 08:46:59 -0700 |
commit | d0db02c628793e389538c0e5c3f6491141ea6200 (patch) | |
tree | a8de780ad28436a3e10357172aad59da7ee16b75 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 8574bf8d0ddd46f0bc393381563f59a6f4418a3e (diff) |
riscv: entry: Add noinstr to prevent instrumentation inserted
Without noinstr the compiler is free to insert instrumentation (think
all the k*SAN, KCov, GCov, ftrace etc..) which can call code we're not
yet ready to run this early in the entry path, for instance it could
rely on RCU which isn't on yet, or expect lockdep state. (by peterz)
Link: https://lore.kernel.org/linux-riscv/[email protected]/
Reviewed-by: Björn Töpel <[email protected]>
Suggested-by: Peter Zijlstra <[email protected]>
Tested-by: Jisheng Zhang <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions