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

From: Ingo Molnar
Date: Tue Jan 12 2016 - 06:16:48 EST



* Borislav Petkov <bp@xxxxxxxxx> wrote:

> 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?

core.c is fine with me!

Thanks,

Ingo