mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
![James Hogan](/assets/img/avatar_default.png)
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
17 lines
502 B
Makefile
17 lines
502 B
Makefile
obj-$(CONFIG_OPROFILE) += oprofile.o
|
|
|
|
oprofile-core-y += buffer_sync.o
|
|
oprofile-core-y += cpu_buffer.o
|
|
oprofile-core-y += event_buffer.o
|
|
oprofile-core-y += oprof.o
|
|
oprofile-core-y += oprofile_files.o
|
|
oprofile-core-y += oprofile_stats.o
|
|
oprofile-core-y += oprofilefs.o
|
|
oprofile-core-y += timer_int.o
|
|
oprofile-core-$(CONFIG_HW_PERF_EVENTS) += oprofile_perf.o
|
|
|
|
oprofile-y += backtrace.o
|
|
oprofile-y += common.o
|
|
oprofile-y += $(addprefix ../../../drivers/oprofile/,$(oprofile-core-y))
|
|
|
|
ccflags-y += -Werror
|