2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/arch/metag/oprofile
James Hogan 00e6c92304 metag: OProfile support
Add OProfile support for metag, using the perf backend, and falling back
to generic timer based sampling if perf counter interrupt support is
disabled.

The oprofile code prepends "metag/" to the perf pmu name to give
"metag/meta2" which is more consistent with other oprofile arch names.

The backtrace code makes use of <asm/stacktrace.h> for kernel
backtracing, and a simple frame pointer walk for userland backtracing.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Robert Richter <rric@kernel.org>
Cc: oprofile-list@lists.sf.net
2013-03-15 13:21:05 +00:00
..
backtrace.c metag: OProfile support 2013-03-15 13:21:05 +00:00
backtrace.h metag: OProfile support 2013-03-15 13:21:05 +00:00
common.c metag: OProfile support 2013-03-15 13:21:05 +00:00
Makefile metag: OProfile support 2013-03-15 13:21:05 +00:00