mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] perf: ignore generted files pmu-events/{jevents,pmu-events.c} for git
@ 2017-03-13  8:30 changbin.du
  2017-03-15 18:36 ` [tip:perf/core] perf tools: Ignore generated " tip-bot for Changbin Du
  0 siblings, 1 reply; 2+ messages in thread
From: changbin.du @ 2017-03-13  8:30 UTC (permalink / raw)
  To: peterz, mingo, acme; +Cc: linux-kernel, Changbin Du

From: Changbin Du <changbin.du@intel.com>

Ignore two files pmu-events/{jevents,pmu-events.c} which are generted
after building.

Signed-off-by: Changbin Du <changbin.du@intel.com>
---
 tools/perf/.gitignore | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore
index 3db3db9..643cc4ba 100644
--- a/tools/perf/.gitignore
+++ b/tools/perf/.gitignore
@@ -31,3 +31,5 @@ config.mak.autogen
 .config-detected
 util/intel-pt-decoder/inat-tables.c
 arch/*/include/generated/
+pmu-events/pmu-events.c
+pmu-events/jevents
-- 
2.7.4

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

* [tip:perf/core] perf tools: Ignore generated files pmu-events/{jevents,pmu-events.c} for git
  2017-03-13  8:30 [PATCH] perf: ignore generted files pmu-events/{jevents,pmu-events.c} for git changbin.du
@ 2017-03-15 18:36 ` tip-bot for Changbin Du
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Changbin Du @ 2017-03-15 18:36 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, tglx, mingo, acme, peterz, hpa, changbin.du

Commit-ID:  12a601c64339d2d28af534d2324f87cf00ba8cd8
Gitweb:     http://git.kernel.org/tip/12a601c64339d2d28af534d2324f87cf00ba8cd8
Author:     Changbin Du <changbin.du@intel.com>
AuthorDate: Mon, 13 Mar 2017 16:30:26 +0800
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Mon, 13 Mar 2017 10:59:36 -0300

perf tools: Ignore generated files pmu-events/{jevents,pmu-events.c} for git

Ignore two files: pmu-events/{jevents,pmu-events.c} which are generated
during the build.

Committer notes:

Testing it:

  $ make -C tools/perf/
  $ git status
  On branch perf/core
  Untracked files:
  (use "git add <file>..." to include in what will be committed)

	tools/perf/pmu-events/jevents
	tools/perf/pmu-events/pmu-events.c

  nothing added to commit but untracked files present (use "git add" to track)
  $

After the patch:

  $ git status
  On branch perf/core
  nothing to commit, working tree clean
  $

Signed-off-by: Changbin Du <changbin.du@intel.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20170313083026.23487-1-changbin.du@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/.gitignore | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore
index 3db3db9..643cc4ba 100644
--- a/tools/perf/.gitignore
+++ b/tools/perf/.gitignore
@@ -31,3 +31,5 @@ config.mak.autogen
 .config-detected
 util/intel-pt-decoder/inat-tables.c
 arch/*/include/generated/
+pmu-events/pmu-events.c
+pmu-events/jevents

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

end of thread, other threads:[~2017-03-15 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-13  8:30 [PATCH] perf: ignore generted files pmu-events/{jevents,pmu-events.c} for git changbin.du
2017-03-15 18:36 ` [tip:perf/core] perf tools: Ignore generated " tip-bot for Changbin Du

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

Powered by JetHome