lkml.org 
[lkml]   [2009]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 1/6] perf_counter: powerpc: Enable use of software counters on 32-bit powerpc
    Date

    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
    >



    \
     
     \ /
      Last update: 2009-06-17 16:13    [W:0.031 / U:62.448 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site