2014-01-11 17:48:50

by Yann Droneaud

[permalink] [raw]
Subject: [PATCH 0/2] perf: little build clean up

Hi,

Please find 2 little patches to remove an unused file
and to ignore files generated as part of the feature
auto-detection.

Regards.

Yann Droneaud (2):
perf tools: remove unused test-volatile-register-var.c
perf tools: add .gitignore for files generated for feature check

tools/perf/config/feature-checks/.gitignore | 28 ++++++++++++++++++++++
.../feature-checks/test-volatile-register-var.c | 6 -----
2 files changed, 28 insertions(+), 6 deletions(-)
create mode 100644 tools/perf/config/feature-checks/.gitignore
delete mode 100644 tools/perf/config/feature-checks/test-volatile-register-var.c

--
1.8.4.2


2014-01-11 17:49:17

by Yann Droneaud

[permalink] [raw]
Subject: [PATCH 1/2] perf tools: remove unused test-volatile-register-var.c

Since commit 01287e2cb7ad, test-volatile-register-var.c
is no more built as part of the automatic feature check.

This patch remove the unneeded file.

Cc: Ingo Molnar <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Signed-off-by: Yann Droneaud <[email protected]>
---
tools/perf/config/feature-checks/test-volatile-register-var.c | 6 ------
1 file changed, 6 deletions(-)
delete mode 100644 tools/perf/config/feature-checks/test-volatile-register-var.c

diff --git a/tools/perf/config/feature-checks/test-volatile-register-var.c b/tools/perf/config/feature-checks/test-volatile-register-var.c
deleted file mode 100644
index c9f398d87868..000000000000
--- a/tools/perf/config/feature-checks/test-volatile-register-var.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <stdio.h>
-
-int main(void)
-{
- return puts("hi");
-}
--
1.8.4.2

2014-01-11 17:49:24

by Yann Droneaud

[permalink] [raw]
Subject: [PATCH 2/2] perf tools: add .gitignore for files generated for feature check

As part of system features auto-detection, some dependency files are
generated and some programs are built.

These files should not be considered by git, so this patch adds
a dedicated .gitignore in tools/perf/config/ sub-directory to
ignore the files.

Signed-off-by: Yann Droneaud <[email protected]>
---
tools/perf/config/feature-checks/.gitignore | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 tools/perf/config/feature-checks/.gitignore

diff --git a/tools/perf/config/feature-checks/.gitignore b/tools/perf/config/feature-checks/.gitignore
new file mode 100644
index 000000000000..53b84b102c78
--- /dev/null
+++ b/tools/perf/config/feature-checks/.gitignore
@@ -0,0 +1,28 @@
+*.d
+test-all
+test-backtrace
+test-bionic
+test-cplus-demangle
+test-dwarf
+test-fortify-source
+test-glibc
+test-gtk2
+test-gtk2-infobar
+test-hello
+test-libaudit
+test-libbfd
+test-libelf
+test-libelf-getphdrnum
+test-libelf-mmap
+test-liberty
+test-liberty-z
+test-libnuma
+test-libperl
+test-libpython
+test-libpython-version
+test-libslang
+test-libunwind
+test-libunwind-debug-frame
+test-on-exit
+test-stackprotector-all
+test-timerfd
--
1.8.4.2

2014-01-13 09:48:36

by Yann Droneaud

[permalink] [raw]
Subject: Re: [PATCH 2/2] perf tools: add .gitignore for files generated for feature check

Hi,

Le samedi 11 janvier 2014 à 18:48 +0100, Yann Droneaud a écrit :
> As part of system features auto-detection, some dependency files are
> generated and some programs are built.
>
> These files should not be considered by git, so this patch adds
> a dedicated .gitignore in tools/perf/config/ sub-directory to
> ignore the files.
>
> Signed-off-by: Yann Droneaud <[email protected]>

Please ignore this patch, a .gitignore is now present in linux-next
(from tag next-20140113).

Regards.

--
Yann Droneaud
OPTEYA

Subject: [tip:perf/core] perf tools: Remove unused test-volatile-register-var.c

Commit-ID: 26f7f9877234e6b9ed87eff4ca450631bafe0182
Gitweb: http://git.kernel.org/tip/26f7f9877234e6b9ed87eff4ca450631bafe0182
Author: Yann Droneaud <[email protected]>
AuthorDate: Sat, 11 Jan 2014 18:48:15 +0100
Committer: Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Mon, 13 Jan 2014 17:20:05 -0300

perf tools: Remove unused test-volatile-register-var.c

Since commit 01287e2cb7ad, test-volatile-register-var.c is no more built
as part of the automatic feature check.

This patch remove the unneeded file.

Signed-off-by: Yann Droneaud <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/339d86ad76741ed929defd18541f774b404003b4.1389461371.git.ydroneaud@opteya.com
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
tools/perf/config/feature-checks/test-volatile-register-var.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/tools/perf/config/feature-checks/test-volatile-register-var.c b/tools/perf/config/feature-checks/test-volatile-register-var.c
deleted file mode 100644
index c9f398d..0000000
--- a/tools/perf/config/feature-checks/test-volatile-register-var.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <stdio.h>
-
-int main(void)
-{
- return puts("hi");
-}