lkml.org 
[lkml]   [2016]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [RESEND PATCH] perf tools: Add arch/*/include/generated/ to .gitignore
From
Date
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 <file>..." 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 <namhyung@kernel.org>
> Cc: Jiri Olsa <jolsa@kernel.org>
> Cc: Masami Hiramatsu <mhiramat@kernel.org>
> Cc: Adrian Hunter <adrian.hunter@intel.com>
> Cc: David Ahern <dsahern@gmail.com>
> Cc: Wang Nan <wangnan0@huawei.com>
> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
> Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
> ---
> 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
>

\
 
 \ /
  Last update: 2016-05-27 11:41    [W:0.171 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site