[PATCH 0/5] perf: Sanitize perf directory structure, p1

From: Borislav Petkov
Date: Mon Feb 08 2016 - 11:09:37 EST


From: Borislav Petkov <bp@xxxxxxx>

Hi,

here's v1 ontop of rc3 + tip/master, i.e., hopefully I've picked up all
relevant branches and rebased my pile ontop so that they don't break any
patches in-flight.

Please apply,
thanks.

Changelog:

v0:

so what better time to do that fun than during the holidays when no one
else is producing patches. :-)

Anyway, here's a part one conversion of the AMD perf events facilities.
Directory structure looks like this:

arch/x86/events/
|-- amd
| |-- core.c
| |-- ibs.c
| |-- iommu.c
| |-- iommu.h
| `-- uncore.c
|-- core.c
`-- Makefile

and I've kept the churn at a mininum. Holler if something's not kosher.


Borislav Petkov (5):
x86/events: Move perf_event.c
x86/events: Move perf_event_amd.c
x86/events: Move perf_event_amd_ibs.c
x86/events: Move perf_event_amd_iommu.*
x86/events: Move perf_event_amd_uncore.c

arch/x86/Kbuild | 3 ++-
arch/x86/events/Makefile | 7 +++++++
arch/x86/{kernel/cpu/perf_event_amd.c => events/amd/core.c} | 2 +-
arch/x86/{kernel/cpu/perf_event_amd_ibs.c => events/amd/ibs.c} | 2 +-
.../x86/{kernel/cpu/perf_event_amd_iommu.c => events/amd/iommu.c} | 4 ++--
.../x86/{kernel/cpu/perf_event_amd_iommu.h => events/amd/iommu.h} | 0
.../{kernel/cpu/perf_event_amd_uncore.c => events/amd/uncore.c} | 0
arch/x86/{kernel/cpu/perf_event.c => events/core.c} | 2 +-
arch/x86/kernel/cpu/Makefile | 8 +-------
9 files changed, 15 insertions(+), 13 deletions(-)
create mode 100644 arch/x86/events/Makefile
rename arch/x86/{kernel/cpu/perf_event_amd.c => events/amd/core.c} (99%)
rename arch/x86/{kernel/cpu/perf_event_amd_ibs.c => events/amd/ibs.c} (99%)
rename arch/x86/{kernel/cpu/perf_event_amd_iommu.c => events/amd/iommu.c} (99%)
rename arch/x86/{kernel/cpu/perf_event_amd_iommu.h => events/amd/iommu.h} (100%)
rename arch/x86/{kernel/cpu/perf_event_amd_uncore.c => events/amd/uncore.c} (100%)
rename arch/x86/{kernel/cpu/perf_event.c => events/core.c} (99%)

--
2.3.5