[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1417650258-2811-2-git-send-email-ddaney.cavm@gmail.com>
Date: Wed, 3 Dec 2014 15:44:16 -0800
From: David Daney <ddaney.cavm@...il.com>
To: linux-mips@...ux-mips.org, ralf@...ux-mips.org
Cc: Leonid Yegoshin <Leonid.Yegoshin@...tec.com>,
Zubair.Kakakhel@...tec.com, geert+renesas@...der.be,
peterz@...radead.org, paul.gortmaker@...driver.com,
macro@...ux-mips.org, chenhc@...ote.com, cl@...ux.com,
mingo@...nel.org, richard@....at, zajec5@...il.com,
james.hogan@...tec.com, keescook@...omium.org, tj@...nel.org,
alex@...x-smith.me.uk, pbonzini@...hat.com, blogic@...nwrt.org,
paul.burton@...tec.com, qais.yousef@...tec.com,
linux-kernel@...r.kernel.org, markos.chandras@...tec.com,
dengcheng.zhu@...tec.com, manuel.lauss@...il.com,
lars.persson@...s.com, David Daney <david.daney@...ium.com>
Subject: [PATCH 1/3] MIPS: Add FPU emulator counter for non-FPU instructions emulated.
From: David Daney <david.daney@...ium.com>
Used in follow-on patch, the counter is called "insn_emul".
Signed-off-by: David Daney <david.daney@...ium.com>
---
arch/mips/include/asm/fpu_emulator.h | 1 +
arch/mips/math-emu/me-debugfs.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/mips/include/asm/fpu_emulator.h b/arch/mips/include/asm/fpu_emulator.h
index 6370c82..bd5b63f 100644
--- a/arch/mips/include/asm/fpu_emulator.h
+++ b/arch/mips/include/asm/fpu_emulator.h
@@ -45,6 +45,7 @@ struct mips_fpu_emulator_stats {
unsigned long ieee754_zerodiv;
unsigned long ieee754_invalidop;
unsigned long ds_emul;
+ unsigned long insn_emul;
};
DECLARE_PER_CPU(struct mips_fpu_emulator_stats, fpuemustats);
diff --git a/arch/mips/math-emu/me-debugfs.c b/arch/mips/math-emu/me-debugfs.c
index f308e0f..93fc155 100644
--- a/arch/mips/math-emu/me-debugfs.c
+++ b/arch/mips/math-emu/me-debugfs.c
@@ -62,6 +62,7 @@ do { \
FPU_STAT_CREATE(ieee754_zerodiv);
FPU_STAT_CREATE(ieee754_invalidop);
FPU_STAT_CREATE(ds_emul);
+ FPU_STAT_CREATE(insn_emul);
return 0;
}
--
1.7.11.7
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists