]> git.baikalelectronics.ru Git - kernel.git/commit
oprofile: Abstract the perf-events backend
authorMatt Fleming <matt@console-pimps.org>
Mon, 27 Sep 2010 19:45:08 +0000 (20:45 +0100)
committerRobert Richter <robert.richter@amd.com>
Mon, 11 Oct 2010 15:46:16 +0000 (17:46 +0200)
commit2833fd8c4581382f1cad06a8a9e937261d92916c
tree16d089339f161eb1e719b4b9b61e59e572587656
parent96203075f2c1d78098c89d2681915f2b7dfec3ff
oprofile: Abstract the perf-events backend

Move the perf-events backend from arch/arm/oprofile into
drivers/oprofile so that the code can be shared between architectures.

This allows each architecture to maintain only a single copy of the PMU
accessor functions instead of one for both perf and OProfile. It also
becomes possible for other architectures to delete much of their
OProfile code in favour of the common code now available in
drivers/oprofile/oprofile_perf.c.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/arm/oprofile/Makefile
arch/arm/oprofile/common.c
drivers/oprofile/oprofile_perf.c [new file with mode: 0644]
include/linux/oprofile.h