Patchwork powerpc/oprofile: Remove unused dump_pmcs() in FSL oprofile

login
register
mail settings
Submitter Michael Ellerman
Date April 8, 2009, 12:02 a.m.
Message ID <fe6d8d0ac33f450da7db317eb7f785bed788fc21.1239148958.git.michael@ellerman.id.au>
Download mbox | patch
Permalink /patch/25698/
State Accepted, archived
Commit e2ff7544e121a574b151d9012c72f6601df2f087
Delegated to: Kumar Gala
Headers show

Comments

Michael Ellerman - April 8, 2009, 12:02 a.m.
It's still in the git history if anyone wants it.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
 arch/powerpc/oprofile/op_model_fsl_emb.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
Kumar Gala - April 8, 2009, 4:49 a.m.
On Apr 7, 2009, at 7:02 PM, Michael Ellerman wrote:

> It's still in the git history if anyone wants it.
>
> Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
> ---
> arch/powerpc/oprofile/op_model_fsl_emb.c |   14 --------------
> 1 files changed, 0 insertions(+), 14 deletions(-)

applied to next

- k

Patch

diff --git a/arch/powerpc/oprofile/op_model_fsl_emb.c b/arch/powerpc/oprofile/op_model_fsl_emb.c
index 91596f6..62312ab 100644
--- a/arch/powerpc/oprofile/op_model_fsl_emb.c
+++ b/arch/powerpc/oprofile/op_model_fsl_emb.c
@@ -228,20 +228,6 @@  static void pmc_stop_ctrs(void)
 	mtpmr(PMRN_PMGC0, pmgc0);
 }
 
-static void dump_pmcs(void)
-{
-	printk("pmgc0: %x\n", mfpmr(PMRN_PMGC0));
-	printk("pmc\t\tpmlca\t\tpmlcb\n");
-	printk("%8x\t%8x\t%8x\n", mfpmr(PMRN_PMC0),
-			mfpmr(PMRN_PMLCA0), mfpmr(PMRN_PMLCB0));
-	printk("%8x\t%8x\t%8x\n", mfpmr(PMRN_PMC1),
-			mfpmr(PMRN_PMLCA1), mfpmr(PMRN_PMLCB1));
-	printk("%8x\t%8x\t%8x\n", mfpmr(PMRN_PMC2),
-			mfpmr(PMRN_PMLCA2), mfpmr(PMRN_PMLCB2));
-	printk("%8x\t%8x\t%8x\n", mfpmr(PMRN_PMC3),
-			mfpmr(PMRN_PMLCA3), mfpmr(PMRN_PMLCB3));
-}
-
 static int fsl_emb_cpu_setup(struct op_counter_config *ctr)
 {
 	int i;