aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJames Hogan <[email protected]>2017-12-11 16:13:14 +0000
committerJames Hogan <[email protected]>2018-01-09 22:26:16 +0000
commitcd1e0737efcaa0889810216cb01017d97f83c5e0 (patch)
tree10775df7e6c3e7345ba10381b65bd6695cee38f7 /tools/perf/scripts/python/event_analyzing_sample.py
parentffe1f9356fbe55df7dd7f7f6b050ee8b7136611f (diff)
MIPS: mipsregs.h: Add read const Cop0 macros
Some Cop0 registers are constant and have no side effects when read. There is no need for the inline asm to read these to be marked __volatile__, and doing so prevents them from being removed by the compiler. Add a few new accessor macros to handle these registers more efficiently (especially for the sake of running in a guest where redundant access to the register may trap to the hypervisor): __read_const_32bit_c0_register() __read_const_64bit_c0_register() __read_const_ulong_c0_register() Signed-off-by: James Hogan <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Maciej W. Rozycki <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/17922/
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions