[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <A731338A-E954-46D9-8BF7-6E74C797209C@kernel.crashing.org>
Date: Wed, 17 Jun 2009 09:10:49 -0500
From: Kumar Gala <galak@...nel.crashing.org>
To: Paul Mackerras <paulus@...ba.org>
Cc: Ingo Molnar <mingo@...e.hu>, benh@...nel.crashing.org,
linuxppc-dev@...abs.org, Peter Zijlstra <a.p.zijlstra@...llo.nl>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/6] perf_counter: powerpc: Enable use of software counters on 32-bit powerpc
On Jun 17, 2009, at 6:50 AM, Paul Mackerras wrote:
> diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/
> platforms/Kconfig.cputype
> index cca6b4f..dd9f3ec 100644
> --- a/arch/powerpc/platforms/Kconfig.cputype
> +++ b/arch/powerpc/platforms/Kconfig.cputype
> @@ -1,7 +1,7 @@
> config PPC64
> bool "64-bit kernel"
> default n
> - select HAVE_PERF_COUNTERS
> + select PPC_HAVE_PMU_SUPPORT
> help
> This option selects whether a 32-bit or a 64-bit kernel
> will be built.
> @@ -243,6 +243,15 @@ config VIRT_CPU_ACCOUNTING
>
> If in doubt, say Y here.
>
> +config PPC_HAVE_PMU_SUPPORT
> + bool
what does this mean?
> +
> +config PPC_PERF_CTRS
> + def_bool y
> + depends on PERF_COUNTERS && PPC_HAVE_PMU_SUPPORT
> + help
> + This enables the powerpc-specific perf_counter back-end.
Can we distinguish between the two different architected perf counters
programming models to start with. Maybe something like:
PPC_BOOK3S_PERF_CTRS and PPC_BOOK3E_PERF_CTRS (or
PPC_SERVER_PERF_CTRS / PPC_EMB_PERF_CTRS)
>
> +
> config SMP
> depends on PPC_STD_MMU || FSL_BOOKE
> bool "Symmetric multi-processing support"
> --
> 1.6.0.4
>
--
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