diff options
author | David Daney <david.daney@cavium.com> | 2014-12-03 22:12:23 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-01 18:21:57 +0300 |
commit | 2707cd293cc2386f8eea6fee1ba72e8b190f25cc (patch) | |
tree | eaf18d32c09f61a82a2bf33746a8d93c7567753a /arch/mips/math-emu/me-debugfs.c | |
parent | 7d168923a35551ed6572d02a0f159e7d61f62cfc (diff) | |
download | linux-2707cd293cc2386f8eea6fee1ba72e8b190f25cc.tar.xz |
MIPS: Add FPU emulator counter for emulated delay slots.
Delay slot emulation in the FPU emulator is the only kernel user of an
executable stack, it is also very slow. Add a counter so we can see
how many of these emulations are done.
Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8634/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/me-debugfs.c')
-rw-r--r-- | arch/mips/math-emu/me-debugfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/math-emu/me-debugfs.c b/arch/mips/math-emu/me-debugfs.c index becdd63e14a9..f308e0f05fc5 100644 --- a/arch/mips/math-emu/me-debugfs.c +++ b/arch/mips/math-emu/me-debugfs.c @@ -61,6 +61,7 @@ do { \ FPU_STAT_CREATE(ieee754_overflow); FPU_STAT_CREATE(ieee754_zerodiv); FPU_STAT_CREATE(ieee754_invalidop); + FPU_STAT_CREATE(ds_emul); return 0; } |