Skip to content

Commit

Permalink
ARM: perf: separate PMU backends into multiple files
Browse files Browse the repository at this point in the history
The ARM perf_event.c file contains all PMU backends and, as new PMUs
are introduced, will continue to grow.

This patch follows the example of x86 and splits the PMU implementations
into separate files which are then #included back into the main
file. Compile-time guards are added to each PMU file to avoid compiling
in code that is not relevant for the version of the architecture which
we are targetting.

Acked-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
  • Loading branch information
Will Deacon committed Nov 25, 2010
1 parent 6299483 commit 43eab87
Show file tree
Hide file tree
Showing 4 changed files with 2,390 additions and 2,352 deletions.
Loading

0 comments on commit 43eab87

Please sign in to comment.