From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933191AbcE0JyK (ORCPT ); Fri, 27 May 2016 05:54:10 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:17390 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932454AbcE0JyH (ORCPT ); Fri, 27 May 2016 05:54:07 -0400 Subject: Re: [RESEND PATCH] perf tools: Add arch/*/include/generated/ to .gitignore To: Taeung Song , Arnaldo Carvalho de Melo References: <1464077582-6693-1-git-send-email-treeze.taeung@gmail.com> <57481026.1010209@gmail.com> CC: Taeung Song , , Jiri Olsa , Namhyung Kim , Ingo Molnar , Peter Zijlstra , Alexander Shishkin , Masami Hiramatsu , Adrian Hunter , David Ahern From: "Wangnan (F)" Message-ID: <5748192A.6060301@huawei.com> Date: Fri, 27 May 2016 17:53:46 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <57481026.1010209@gmail.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.66.109] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A0B0206.57481939.00FE,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: db8a0a973cc22709aaa375f8b2381cb3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016/5/27 17:15, Taeung Song wrote: > Hi, Arnaldo > > If you have a little time, > could you check this simple patch ? > > This patch is minor but > everytime I build tools/perf code, > untracked file(arch/*/include/generated/) is always generated.. > like below > > taeung ~/git/linux-perf/tools/perf > :> make -j4 > BUILD: Doing 'make -j4' parallel build > > ... > > INSTALL python-scripts > INSTALL perf_completion-script > INSTALL perf-tip > > taeung ~/git/linux-perf/tools/perf > :> git status > On branch master > Your branch is up-to-date with 'origin/master'. > Untracked files: > (use "git add ..." to include in what will be committed) > > arch/x86/include/generated/ > > nothing added to commit but untracked files present (use "git add" to > track) > > > Thanks, > Taeung > > On 05/24/2016 05:13 PM, Taeung Song wrote: >> Commit 1b700c9975008615ad470cf79acc8455ce60a695 ("perf tools: Build >> syscall table .c header from kernel's syscall_64.tbl") that >> automatically >> generate per-arch syscall table arrays e.g. >> >> arch/x86/include/generated/asm/syscalls_64.c >> >> So add this directory to .gitignore >> >> Cc: Namhyung Kim >> Cc: Jiri Olsa >> Cc: Masami Hiramatsu >> Cc: Adrian Hunter >> Cc: David Ahern >> Cc: Wang Nan >> Cc: Alexander Shishkin >> Signed-off-by: Taeung Song >> --- >> tools/perf/.gitignore | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore >> index 3d1bb80..4bef135 100644 >> --- a/tools/perf/.gitignore >> +++ b/tools/perf/.gitignore >> @@ -30,3 +30,4 @@ config.mak.autogen >> *.pyo >> .config-detected >> util/intel-pt-decoder/inat-tables.c >> +arch/*/include/generated/ >> \ No newline at end of file >> Please add a newline here. Thank you.