summaryrefslogtreecommitdiffstats
path: root/arch/metag/oprofile/backtrace.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-02-21 15:34:59 +0000
committerJames Hogan <james.hogan@imgtec.com>2013-03-15 13:20:19 +0000
commitf27086f5dcb0c7e9622f724d5279e4dfe4e844a2 (patch)
tree2768182e4159e8c0a27c5b3eee8f8e03dc3d5efa /arch/metag/oprofile/backtrace.c
parent1fb4dc5c39af941d3abc597337e0ea776bfce0f2 (diff)
downloadop-kernel-dev-f27086f5dcb0c7e9622f724d5279e4dfe4e844a2.zip
op-kernel-dev-f27086f5dcb0c7e9622f724d5279e4dfe4e844a2.tar.gz
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 <james.hogan@imgtec.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Cc: Robert Richter <rric@kernel.org> Cc: oprofile-list@lists.sf.net
Diffstat (limited to 'arch/metag/oprofile/backtrace.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud