diff options
author | 2024-02-16 11:10:36 +0100 | |
---|---|---|
committer | 2024-02-22 21:55:33 +1100 | |
commit | d5835fb60bad641dbae64fe30c02f10857bf4647 (patch) | |
tree | 833480077dbbc7ce3f42ccbde962dbe071703ce1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/trace: Restrict hash_fault trace event to HASH MMU (diff) | |
download | wireguard-linux-d5835fb60bad641dbae64fe30c02f10857bf4647.tar.xz wireguard-linux-d5835fb60bad641dbae64fe30c02f10857bf4647.zip |
powerpc: Use user_mode() macro when possible
There is a nice macro to check user mode.
Use it instead of open coding anding with MSR_PR to increase
readability and avoid having to comment what that anding is for.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/fbf74887dcf1f1ba9e1680fc3247cbb581b00662.1708078228.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions