Re: [RESEND PATCH] perf tools: Add arch/*/include/generated/ to .gitignore

From: Taeung Song
Date: Fri May 27 2016 - 06:01:00 EST

Hi, Wangnan

Thank you !!
I'll resend modified patch, now


On 05/27/2016 06:53 PM, Wangnan (F) wrote:

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 <file>..." to include in what will be committed)


nothing added to commit but untracked files present (use "git add" to


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
generate per-arch syscall table arrays e.g.


So add this directory to .gitignore

Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
Cc: David Ahern <dsahern@xxxxxxxxx>
Cc: Wang Nan <wangnan0@xxxxxxxxxx>
Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
Signed-off-by: Taeung Song <treeze.taeung@xxxxxxxxx>
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
\ No newline at end of file

Please add a newline here.

Thank you.