Skip to content
  • Peter Zijlstra's avatar
    perf: Dynamic pmu types · 2e80a82a
    Peter Zijlstra authored
    
    
    Extend the perf_pmu_register() interface to allow for named and
    dynamic pmu types.
    
    Because we need to support the existing static types we cannot use
    dynamic types for everything, hence provide a type argument.
    
    If we want to enumerate the PMUs they need a name, provide one.
    
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    LKML-Reference: <20101117222056.259707703@chello.nl>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    2e80a82a