diff options
author | Thomas Gleixner <[email protected]> | 2020-04-21 21:22:36 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-06-11 15:15:02 +0200 |
commit | 865d3a9afe7eddf320e7f61a442864d6efe27505 (patch) | |
tree | c9800c78f472be091addac5a29195734a22dd8d5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 75347bb2535a6d5549cc3e436467b7c40d7bb874 (diff) |
x86/mce: Address objtools noinstr complaints
Mark the relevant functions noinstr, use the plain non-instrumented MSR
accessors. The only odd part is the instrumentation_begin()/end() pair around the
indirect machine_check_vector() call as objtool can't figure that out. The
possible invoked functions are annotated correctly.
Also use notrace variant of nmi_enter/exit(). If MCEs happen then hardware
latency tracing is the least of the worries.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Alexandre Chartre <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions