[PATCH] powerpc/oprofile: dump_pmcs() is not used

Michael Ellerman michael at ellerman.id.au
Mon Apr 6 23:45:08 EST 2009


Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
---
 arch/powerpc/oprofile/op_model_fsl_emb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Or should we just remove it?

diff --git a/arch/powerpc/oprofile/op_model_fsl_emb.c b/arch/powerpc/oprofile/op_model_fsl_emb.c
index 91596f6..4abd466 100644
--- a/arch/powerpc/oprofile/op_model_fsl_emb.c
+++ b/arch/powerpc/oprofile/op_model_fsl_emb.c
@@ -228,6 +228,7 @@ static void pmc_stop_ctrs(void)
 	mtpmr(PMRN_PMGC0, pmgc0);
 }
 
+#if 0
 static void dump_pmcs(void)
 {
 	printk("pmgc0: %x\n", mfpmr(PMRN_PMGC0));
@@ -241,6 +242,7 @@ static void dump_pmcs(void)
 	printk("%8x\t%8x\t%8x\n", mfpmr(PMRN_PMC3),
 			mfpmr(PMRN_PMLCA3), mfpmr(PMRN_PMLCB3));
 }
+#endif
 
 static int fsl_emb_cpu_setup(struct op_counter_config *ctr)
 {
-- 
1.6.2.1




More information about the Linuxppc-dev mailing list