Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

0 views
Skip to first unread message

Yann Droneaud

unread,
Jan 11, 2014, 12:50:02 PM1/11/14
to
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 <ydro...@opteya.com>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Yann Droneaud

unread,
Jan 11, 2014, 12:50:02 PM1/11/14
to
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

Yann Droneaud

unread,
Jan 11, 2014, 12:50:02 PM1/11/14
to
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 <mi...@kernel.org>
Cc: Arnaldo Carvalho de Melo <ac...@redhat.com>
Cc: Peter Zijlstra <a.p.zi...@chello.nl>
Cc: David Ahern <dsa...@gmail.com>
Cc: Jiri Olsa <jo...@redhat.com>
Cc: Namhyung Kim <namh...@kernel.org>
Signed-off-by: Yann Droneaud <ydro...@opteya.com>
---
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");
-}

Yann Droneaud

unread,
Jan 13, 2014, 4:50:01 AM1/13/14
to
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 <ydro...@opteya.com>

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

Regards.

--
Yann Droneaud
OPTEYA

tip-bot for Yann Droneaud

unread,
Jan 14, 2014, 11:50:01 AM1/14/14
to
Commit-ID: 26f7f9877234e6b9ed87eff4ca450631bafe0182
Gitweb: http://git.kernel.org/tip/26f7f9877234e6b9ed87eff4ca450631bafe0182
Author: Yann Droneaud <ydro...@opteya.com>
AuthorDate: Sat, 11 Jan 2014 18:48:15 +0100
Committer: Arnaldo Carvalho de Melo <ac...@redhat.com>
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 <ydro...@opteya.com>
Cc: David Ahern <dsa...@gmail.com>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Jiri Olsa <jo...@redhat.com>
Cc: Namhyung Kim <namh...@kernel.org>
Cc: Paul Mackerras <pau...@samba.org>
Cc: Peter Zijlstra <a.p.zi...@chello.nl>
Link: http://lkml.kernel.org/r/339d86ad76741ed929defd18541f774b...@opteya.com
Signed-off-by: Arnaldo Carvalho de Melo <ac...@redhat.com>
---
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");
-}
--
0 new messages