Skip to contentSkip to conversation

perf tools: Add arch/*/include/generated/ to .gitignore

PATCH RESEND Superseded Taeung Song 3 participants 4 messages May 24, 2016 – May 27, 2016 perf events

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 perf tools: Add arch/*/include/generated/ to .gitignore

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 <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Masami Hiramatsu <[email protected]>
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Wang Nan <[email protected]>
Cc Alexander Shishkin <[email protected]>
---
 tools/perf/.gitignore | 1 +
 1 file changed, 1 insertion(+)
tools/perf/.gitignore +1 -0
index 3d1bb80..4bef135 100644
@@ -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
Signature · 1 line
2.5.0
#1 lore raw

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

Quoted 31 lines · Taeung Song

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 <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Masami Hiramatsu <[email protected]>
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Wang Nan <[email protected]>
Cc Alexander Shishkin <[email protected]>
---
  tools/perf/.gitignore | 1 +
  1 file changed, 1 insertion(+)
tools/perf/.gitignore +1 -0
index 3d1bb80..4bef135 100644
@@ -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
#2 lore raw
Quoted 56 lines · Taeung Song

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

Quoted 20 lines · Taeung Song

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 <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Masami Hiramatsu <[email protected]>
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Wang Nan <[email protected]>
Cc Alexander Shishkin <[email protected]>
---
  tools/perf/.gitignore | 1 +
  1 file changed, 1 insertion(+)
Quoted 11 lines

tools/perf/.gitignore config.mak.autogen · line 33

Quoted 11 lines
tools/perf/.gitignore +1 -0
index 3d1bb80..4bef135 100644
@@ -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.

#3 lore raw

Hi, Wangnan

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

Thanks,
Taeung

Quoted 79 lines · Wangnan (F)
Quoted 58 lines · Taeung Song

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

Quoted 21 lines · Taeung Song

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 <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Masami Hiramatsu <[email protected]>
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Wang Nan <[email protected]>
Cc Alexander Shishkin <[email protected]>
---
  tools/perf/.gitignore | 1 +
  1 file changed, 1 insertion(+)
Quoted 11 lines

tools/perf/.gitignore config.mak.autogen · line 33

Quoted 11 lines
tools/perf/.gitignore +1 -0
index 3d1bb80..4bef135 100644
@@ -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.