aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-06-23 14:01:54 +0200
committerBorislav Petkov <bp@suse.de>2021-06-23 18:12:30 +0200
commit16dcf4385933a02bb21d0af86a04439d151ad42a (patch)
tree9df58cd1d6c60d377de4283b1b18a2286f3925cf /tools/perf/scripts/python/export-to-postgresql.py
parentx86/fpu: Rename copy_user_to_xregs() and copy_xregs_to_user() (diff)
downloadlinux-dev-16dcf4385933a02bb21d0af86a04439d151ad42a.tar.xz
linux-dev-16dcf4385933a02bb21d0af86a04439d151ad42a.zip
x86/fpu: Rename fxregs-related copy functions
The function names for fxsave/fxrstor operations are horribly named and a permanent source of confusion. Rename: copy_fxregs_to_kernel() to fxsave() copy_kernel_to_fxregs() to fxrstor() copy_fxregs_to_user() to fxsave_to_user_sigframe() copy_user_to_fxregs() to fxrstor_from_user_sigframe() so it's clear what these are doing. All these functions are really low level wrappers around the equally named instructions, so mapping to the documentation is just natural. While at it, replace the static_cpu_has(X86_FEATURE_FXSR) with use_fxsr() to be consistent with the rest of the code. No functional change. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210623121454.017863494@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions