linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/oprofile: dump_pmcs() is not used
@ 2009-04-06 13:45 Michael Ellerman
  2009-04-06 14:03 ` Kumar Gala
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Ellerman @ 2009-04-06 13:45 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Kumar Gala, afleming

Signed-off-by: Michael Ellerman <michael@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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-08  0:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-06 13:45 [PATCH] powerpc/oprofile: dump_pmcs() is not used Michael Ellerman
2009-04-06 14:03 ` Kumar Gala
2009-04-07 19:42   ` Kumar Gala
2009-04-08  0:06     ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).