From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756568AbbLDWJN (ORCPT ); Fri, 4 Dec 2015 17:09:13 -0500 Received: from casper.infradead.org ([85.118.1.10]:39772 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777AbbLDWJL (ORCPT ); Fri, 4 Dec 2015 17:09:11 -0500 Date: Fri, 4 Dec 2015 23:09:07 +0100 From: Peter Zijlstra To: Borislav Petkov Cc: Ingo Molnar , lkml Subject: Re: Reorganize perf kernel side Message-ID: <20151204220907.GJ17308@twins.programming.kicks-ass.net> References: <20151204211756.GR21177@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151204211756.GR21177@pd.tnic> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 04, 2015 at 10:17:56PM +0100, Borislav Petkov wrote: > Hi guys, > > so I've had my eyes on this for a long time now and it has managed to > get on my nerves just enough to do something about it :-) > > So how about moving perf stuff to arch/x86/perf/ and get rid of the > prefixes in the filenames. This also flattens our folder structure which > is a good thing and which we've been talking about in the past. > > In order to diminish churn, I can do the whole thing in 4-5 patches' > sets, after having run enough *config smoke tests and 0day bot too. > Anyway, something like that. > > perf_event__.c > > can then move to arch/x86/perf//type.c > > and have much saner structure. > > Thoughts? I _will_ blame you for at least a month after every time I mistype a pathname because of this ;-) git blame --follow must keep working. That is, git had better be able to understand this code movement, loosing history is just a total PITA. Also, a script that can auto-convert patches would be nice.