diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-02-05 21:32:12 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-02-12 15:03:33 +0100 |
commit | 304103736ba75be70991cd6336c28121d7bf14f5 (patch) | |
tree | 192db4127392ab2e40aa669f7cc1717e6d40e449 /tools/perf/scripts/python/libxed.py | |
parent | f78bcb2e26dcac39a637e14c0ede9499822cb872 (diff) |
s390/acrs: cleanup access register handling
save_access_regs() and restore_access_regs() are only available by
including switch_to.h. This is done by a couple of C files, which have
nothing to do with switch_to(), but only need these functions.
Move both functions to a new header file and improve the implementation:
- Get rid of typedef
- Add memory access instrumentation support
- Use long displacement instructions lamy/stamy instead of lam/stam - all
current users end up with better code because of this
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions