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

From: Borislav Petkov
Date: Mon Jan 11 2016 - 11:32:40 EST


On Mon, Jan 11, 2016 at 04:14:12PM +0100, Ingo Molnar wrote:
> Ok, works for me. Got confused by your ascii art:
>
> arch/x86/events/
> |-- amd
> | |-- core.c
> | |-- ibs.c
> | |-- iommu.c
> | |-- iommu.h
> | `-- uncore.c
> |-- core.c
> `-- Makefile
>
> which lists events/amd/core.c.

No, that's all correct. There is an amd/core.c thing:

arch/x86/{kernel/cpu/perf_event_amd.c => events/amd/core.c} | 2 +-

and there's also a arch/x86/kernel/cpu/perf_event_intel.c which would want to
become events/intel/core.c

Hmm, what do we call those then?

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.