perf: ignore generted files pmu-events/{jevents,pmu-events.c} for git
PATCH 1/1 perf: ignore generted files pmu-events/{jevents,pmu-events.c} for git
From: Changbin Du <[email protected]>
Ignore two files pmu-events/{jevents,pmu-events.c} which are generted after building.
Signed-off-by Changbin Du <[email protected]>
--- tools/perf/.gitignore | 2 ++ 1 file changed, 2 insertions(+)
tools/perf/.gitignore +2 -0
@@ -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
Signature · 1 line
2.7.4
tip-bot for Changbin Du
merge bot[tip:perf/core] perf tools: Ignore generated files pmu-events/{jevents,pmu-events.c} for git
perf tools: Ignore generated files pmu-events/{jevents,pmu-events.c} for git
Commit-ID: 12a601c64339d2d28af534d2324f87cf00ba8cd8 Gitweb: http://git.kernel.org/tip/12a601c64339d2d28af534d2324f87cf00ba8cd8 Author: Changbin Du <[email protected]> AuthorDate: Mon, 13 Mar 2017 16:30:26 +0800 Committer: Arnaldo Carvalho de Melo <[email protected]> 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 <[email protected]>
Cc Peter Zijlstra <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/.gitignore | 2 ++ 1 file changed, 2 insertions(+)
tools/perf/.gitignore +2 -0
@@ -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