From mboxrd@z Thu Jan 1 00:00:00 1970 From: jamie@jamieiles.com (Jamie Iles) Date: Mon, 15 Nov 2010 19:03:35 +0000 Subject: [PATCH 4/5] ARM: perf: encode PMU name in arm_pmu structure In-Reply-To: <1289842263-21241-5-git-send-email-will.deacon@arm.com> References: <1289842263-21241-1-git-send-email-will.deacon@arm.com> <1289842263-21241-5-git-send-email-will.deacon@arm.com> Message-ID: <20101115190335.GC2764@pulham.picochip.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Nov 15, 2010 at 05:31:02PM +0000, Will Deacon wrote: > Currently, perf uses the PMU ID as an index into a string table > to look up the name of a given PMU. > > This patch encodes the name of a PMU directly into the arm_pmu > structure so that PMU-specific code can be factored out into > separate files. > > Cc: Jamie Iles > Cc: Jean Pihet > Signed-off-by: Will Deacon > --- Looks good. Acked-by: Jamie Iles