Skip to contentSkip to conversation

perf: little build clean up

PATCH In review Yann Droneaud 2 participants 5 messages Jan 11, 2014 – Jan 14, 2014 perf events

lore
Share & tools
lore
#0 lore raw

cover 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
Signature · 1 line
1.8.4.2
#1 lore raw

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]>
---
 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
tools/perf/config/feature-checks/test-volatile-register-var.c deleted +0 -6
deleted file mode 100644
index c9f398d87868..000000000000
@@ -1,6 +0,0 @@
-#include <stdio.h>
-
-int main(void)
-{
-	return puts("hi");
-}
Signature · 1 line
1.8.4.2
#2 lore raw

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

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.

---
 tools/perf/config/feature-checks/test-volatile-register-var.c | 6 ------
 1 file changed, 6 deletions(-)
tools/perf/config/feature-checks/test-volatile-register-var.c deleted +0 -6
deleted file mode 100644
index c9f398d..0000000
@@ -1,6 +0,0 @@
-#include <stdio.h>
-
-int main(void)
-{
-	return puts("hi");
-}
#3 lore raw

PATCH 2/2 perf tools: add .gitignore for files generated for feature check

In reply to Yann Droneaud

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.

---
 tools/perf/config/feature-checks/.gitignore | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 tools/perf/config/feature-checks/.gitignore
tools/perf/config/feature-checks/.gitignore new file +28 -0
new file mode 100644
index 000000000000..53b84b102c78
@@ -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
Signature · 1 line
1.8.4.2
#4 lore raw

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

Hi,

Quoted 8 lines · Yann Droneaud

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.

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

Regards.

Signature · 2 lines
Yann Droneaud
OPTEYA