• W
    ARM: perf: probe devicetree in preference to current CPU · 04236f9f
    Will Deacon 提交于
    The CPU PMU is probed using the current cpuid information as part of the
    early_initcall initialising the architecture perf backend. For
    architectures without NMI (such as ARM), this does not need to be
    performed early and can be deferred to the driver probe callback. This
    also allows us to probe the devicetree in preference to parsing the
    current cpuid, which may be invalid on a big.LITTLE multi-cluster
    system.
    
    This patch defers the PMU probing and uses the devicetree information
    when available.
    Signed-off-by: NWill Deacon <will.deacon@arm.com>
    04236f9f
perf_event_xscale.c 20.8 KB