public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] perf: little build clean up
@ 2014-01-11 17:48 Yann Droneaud
  2014-01-11 17:48 ` [PATCH 1/2] perf tools: remove unused test-volatile-register-var.c Yann Droneaud
  2014-01-11 17:48 ` [PATCH 2/2] perf tools: add .gitignore for files generated for feature check Yann Droneaud
  0 siblings, 2 replies; 5+ messages in thread
From: Yann Droneaud @ 2014-01-11 17:48 UTC (permalink / raw)
  To: Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo
  Cc: Yann Droneaud, linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] perf tools: remove unused test-volatile-register-var.c
  2014-01-11 17:48 [PATCH 0/2] perf: little build clean up Yann Droneaud
@ 2014-01-11 17:48 ` Yann Droneaud
  2014-01-14 16:42   ` [tip:perf/core] perf tools: Remove " tip-bot for Yann Droneaud
  2014-01-11 17:48 ` [PATCH 2/2] perf tools: add .gitignore for files generated for feature check Yann Droneaud
  1 sibling, 1 reply; 5+ messages in thread
From: Yann Droneaud @ 2014-01-11 17:48 UTC (permalink / raw)
  To: Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo
  Cc: Yann Droneaud, linux-kernel, Ingo Molnar,
	Arnaldo Carvalho de Melo, David Ahern, Jiri Olsa, Namhyung Kim

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 <mingo@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Yann Droneaud <ydroneaud@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");
-}
-- 
1.8.4.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] perf tools: add .gitignore for files generated for feature check
  2014-01-11 17:48 [PATCH 0/2] perf: little build clean up Yann Droneaud
  2014-01-11 17:48 ` [PATCH 1/2] perf tools: remove unused test-volatile-register-var.c Yann Droneaud
@ 2014-01-11 17:48 ` Yann Droneaud
  2014-01-13  9:48   ` Yann Droneaud
  1 sibling, 1 reply; 5+ messages in thread
From: Yann Droneaud @ 2014-01-11 17:48 UTC (permalink / raw)
  To: Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo
  Cc: Yann Droneaud, linux-kernel

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 <ydroneaud@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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] perf tools: add .gitignore for files generated for feature check
  2014-01-11 17:48 ` [PATCH 2/2] perf tools: add .gitignore for files generated for feature check Yann Droneaud
@ 2014-01-13  9:48   ` Yann Droneaud
  0 siblings, 0 replies; 5+ messages in thread
From: Yann Droneaud @ 2014-01-13  9:48 UTC (permalink / raw)
  To: Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo
  Cc: linux-kernel, Yann Droneaud

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 <ydroneaud@opteya.com>

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

Regards.

-- 
Yann Droneaud
OPTEYA



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [tip:perf/core] perf tools: Remove unused test-volatile-register-var.c
  2014-01-11 17:48 ` [PATCH 1/2] perf tools: remove unused test-volatile-register-var.c Yann Droneaud
@ 2014-01-14 16:42   ` tip-bot for Yann Droneaud
  0 siblings, 0 replies; 5+ messages in thread
From: tip-bot for Yann Droneaud @ 2014-01-14 16:42 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: acme, linux-kernel, paulus, hpa, mingo, a.p.zijlstra, ydroneaud,
	namhyung, jolsa, dsahern, tglx

Commit-ID:  26f7f9877234e6b9ed87eff4ca450631bafe0182
Gitweb:     http://git.kernel.org/tip/26f7f9877234e6b9ed87eff4ca450631bafe0182
Author:     Yann Droneaud <ydroneaud@opteya.com>
AuthorDate: Sat, 11 Jan 2014 18:48:15 +0100
Committer:  Arnaldo Carvalho de Melo <acme@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 <ydroneaud@opteya.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/339d86ad76741ed929defd18541f774b404003b4.1389461371.git.ydroneaud@opteya.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@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");
-}

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-14 16:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-11 17:48 [PATCH 0/2] perf: little build clean up Yann Droneaud
2014-01-11 17:48 ` [PATCH 1/2] perf tools: remove unused test-volatile-register-var.c Yann Droneaud
2014-01-14 16:42   ` [tip:perf/core] perf tools: Remove " tip-bot for Yann Droneaud
2014-01-11 17:48 ` [PATCH 2/2] perf tools: add .gitignore for files generated for feature check Yann Droneaud
2014-01-13  9:48   ` Yann Droneaud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox