linux/arch/arm
Ard Biesheuvel 8769177658 ARM: vfp: Record VFP bounces as perf emulation faults
VFP 'bouncing' occurs when the VFP unit cannot complete the execution of
a VFP instruction, either because it is not implemented at all, or
because the values of the arguments are out of range for the hardware
implementation, and the software needs to step in to complete the
operation.

To give some insight in how much certain programs rely on this bouncing,
record the emulation of a VFP instruction in perf's emulation-faults
counter.

This can be used like so

  perf stat -e emulation-faults ./testfloat -all2

and the output will be something like

 Performance counter stats for './testfloat -all2':

           259,277      emulation-faults:u

       6.846432176 seconds time elapsed

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
2023-05-16 20:24:08 +02:00
..
boot modules-6.4-rc1 2023-04-27 16:36:55 -07:00
common
configs - Nick Piggin's "shoot lazy tlbs" series, to improve the peformance of 2023-04-27 19:42:02 -07:00
crypto
include Locking changes in v6.4: 2023-05-05 12:56:55 -07:00
kernel ARM updates for v6.4-rc1 2023-05-14 09:17:32 -07:00
lib
mach-actions
mach-airoha
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed
mach-at91
mach-axxia
mach-bcm
mach-berlin
mach-clps711x
mach-davinci
mach-digicolor
mach-dove
mach-ep93xx
mach-exynos
mach-footbridge
mach-gemini
mach-highbank
mach-hisi
mach-hpe
mach-imx i.MX SoC changes for 6.4: 2023-04-14 14:04:03 +02:00
mach-ixp4xx
mach-keystone
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
mach-milbeaut
mach-mmp
mach-moxart
mach-mstar
mach-mv78xx0 pci-v6.4-changes 2023-04-27 10:45:30 -07:00
mach-mvebu
mach-mxs
mach-nomadik
mach-npcm
mach-nspire
mach-omap1 gpio updates for v6.4-rc1 2023-04-25 17:18:18 -07:00
mach-omap2 gpio updates for v6.4-rc1 2023-04-25 17:18:18 -07:00
mach-orion5x pci-v6.4-changes 2023-04-27 10:45:30 -07:00
mach-pxa Input updates for 6.4 merge window: 2023-05-01 17:18:56 -07:00
mach-qcom
mach-rda
mach-realtek
mach-rockchip
mach-rpc
mach-s3c
mach-s5pv210
mach-sa1100 ARM updates for v6.4-rc1 2023-05-14 09:17:32 -07:00
mach-shmobile
mach-socfpga
mach-spear
mach-sti
mach-stm32
mach-sunplus
mach-sunxi
mach-tegra
mach-uniphier
mach-ux500
mach-versatile
mach-vt8500
mach-zynq
mm Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
net
nwfpe
plat-orion
probes
tools
vdso
vfp ARM: vfp: Record VFP bounces as perf emulation faults 2023-05-16 20:24:08 +02:00
xen
Kbuild
Kconfig - Nick Piggin's "shoot lazy tlbs" series, to improve the peformance of 2023-04-27 19:42:02 -07:00
Kconfig-nommu
Kconfig.assembler
Kconfig.debug
Makefile