Patchwork Add profiling outputs to .gitignore

login
register
mail settings
Submitter Doug Evans via gdb-patches
Date Dec. 19, 2019, 9:19 p.m.
Message ID <20191219211926.219284-1-cbiesinger@google.com>
Download mbox | patch
Permalink /patch/36969/
State New
Headers show

Comments

Doug Evans via gdb-patches - Dec. 19, 2019, 9:19 p.m.
"perf record" creates files perf.data/perf.data.old; these can be safely
ignored in .gitignore, to avoid showing up in git status.

ChangeLog:

2019-12-19  Christian Biesinger  <cbiesinger@google.com>

	* .gitignore: Add perf.data and perf.data.old.

Change-Id: I214ae9d6b7265c2cb1356f11c9b0b82e2b391352
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)
Tom Tromey - Dec. 20, 2019, 4:11 p.m.
>>>>> "Christian" == Christian Biesinger via gdb-patches <gdb-patches@sourceware.org> writes:

Christian> "perf record" creates files perf.data/perf.data.old; these can be safely
Christian> ignored in .gitignore, to avoid showing up in git status.

Christian> ChangeLog:

Christian> 2019-12-19  Christian Biesinger  <cbiesinger@google.com>

Christian> 	* .gitignore: Add perf.data and perf.data.old.

Thanks, please check this in.

Tom
Doug Evans via gdb-patches - Dec. 26, 2019, 5:55 a.m.
On Fri, Dec 20, 2019 at 5:11 PM Tom Tromey <tom@tromey.com> wrote:
>
> >>>>> "Christian" == Christian Biesinger via gdb-patches <gdb-patches@sourceware.org> writes:
>
> Christian> "perf record" creates files perf.data/perf.data.old; these can be safely
> Christian> ignored in .gitignore, to avoid showing up in git status.
>
> Christian> ChangeLog:
>
> Christian> 2019-12-19  Christian Biesinger  <cbiesinger@google.com>
>
> Christian>      * .gitignore: Add perf.data and perf.data.old.
>
> Thanks, please check this in.

Thanks, pushed.
To ssh://sourceware.org/git/binutils-gdb.git
   f5311f2509..cef2097a87  HEAD -> master

Christian

Patch

diff --git a/.gitignore b/.gitignore
index 4460159c84..356b2eb94b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,6 +41,9 @@  TAGS.sub
 .gdbinit
 .gdb_history
 
+perf.data
+perf.data.old
+
 # ignore core files, but not java/net/protocol/core/
 core
 !core/