From: Stephane Eranian Date: Thu, 24 Jan 2013 15:10:26 +0000 (+0100) Subject: perf/x86: Improve sysfs event mapping with event string X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~119^2~15^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a54aaa0a3ddb2cf2ec1b94a94024e9a8a8af962;p=pandora-kernel.git perf/x86: Improve sysfs event mapping with event string This patch extends Jiri's changes to make generic events mapping visible via sysfs. The patch extends the mechanism to non-generic events by allowing the mappings to be hardcoded in strings. This mechanism will be used by the PEBS-LL patch later on. Signed-off-by: Stephane Eranian Cc: peterz@infradead.org Cc: ak@linux.intel.com Cc: acme@redhat.com Cc: jolsa@redhat.com Cc: namhyung.kim@lge.com Link: http://lkml.kernel.org/r/1359040242-8269-3-git-send-email-eranian@google.com Signed-off-by: Ingo Molnar [ fixed up conflict with 2663960 "perf: Make EVENT_ATTR global" ] Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed