From: Peter Zijlstra Date: Wed, 17 Nov 2010 22:17:36 +0000 (+0100) Subject: perf: Dynamic pmu types X-Git-Tag: v2.6.38-rc1~490^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e80a82a49c4c7eca4e35734380f28298ba5db19;p=pandora-kernel.git perf: Dynamic pmu types 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: Peter Zijlstra LKML-Reference: <20101117222056.259707703@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed