From: James Hogan Date: Thu, 21 Feb 2013 15:34:59 +0000 (+0000) Subject: metag: perf: prepare for use by oprofile X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~101^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f27086f5dcb0c7e9622f724d5279e4dfe4e844a2;p=pandora-kernel.git metag: perf: prepare for use by oprofile To allow our perf_events code to work with oprofile the PERF_TYPE_RAW event type attribute is implemented, which allows the internal encoding of events to be used externally (this requires some tweaks so that it handles invalid event types more gracefully), and perf_pmu_name() is adjusted to return metag_pmu->name instead of metag_pmu->pmu.name (which is changed to "meta2"). Signed-off-by: James Hogan Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Robert Richter Cc: oprofile-list@lists.sf.net --- Reading git-diff-tree failed