diff mbox series

trace-cmd: Update .gitignore

Message ID 20201202130620.3f3a8264@gandalf.local.home (mailing list archive)
State Accepted
Headers show
Series trace-cmd: Update .gitignore | expand

Commit Message

Steven Rostedt Dec. 2, 2020, 6:06 p.m. UTC
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

The .gitignore file is somewhat out of date. Update the main file as well as
adding a .gitignore in the tracecmd and kernel-shark directories.

Remove the exec names that use to be included in the top level directory,
and place them into the .gitignore in the directories that may build them.

Ignore files caused by running "patch".

Add *.data for perf files that may be in the directory.

Add .pc and patches/ to ignore quilt directories.

Add #*# to ignore emacs meta files.

Add a .gitignore file in kernel-shark to include all the files that are
built by the kernelshark build.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
 .gitignore              | 10 ++++++----
 kernel-shark/.gitignore | 22 ++++++++++++++++++++++
 tracecmd/.gitignore     |  1 +
 3 files changed, 29 insertions(+), 4 deletions(-)
 create mode 100644 kernel-shark/.gitignore
 create mode 100644 tracecmd/.gitignore
diff mbox series

Patch

diff --git a/.gitignore b/.gitignore
index 6759e511..ca6c9cb6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,16 +1,18 @@ 
 *.o
-trace-cmd
 *.so
 *.a
 *.dat
+*.data
 *.patch
 .*.d
+*.orig
+*.rej
+.pc
 *~
-kernelshark
-trace-graph
-trace-view
 *.pyc
 *.swp
+\#*\#
+patches/
 tc_version.h
 ks_version.h
 ctracecmd_wrap.c
diff --git a/kernel-shark/.gitignore b/kernel-shark/.gitignore
new file mode 100644
index 00000000..a752f4ed
--- /dev/null
+++ b/kernel-shark/.gitignore
@@ -0,0 +1,22 @@ 
+bin/cmd_split
+bin/confio
+bin/dfilter
+bin/dhisto
+bin/dload
+bin/dplot
+bin/kernelshark
+bin/kshark-record
+bin/widgetdemo
+build/CMakeCache.txt
+build/CMakeDoxyfile.in
+build/CMakeDoxygenDefaults.cmake
+build/CMakeFiles/
+build/Makefile
+build/cmake_install.cmake
+build/examples/
+build/src/
+kernelshark.desktop
+lib/
+org.freedesktop.kshark-record.policy
+src/KsCmakeDef.hpp
+
diff --git a/tracecmd/.gitignore b/tracecmd/.gitignore
new file mode 100644
index 00000000..30f93eb4
--- /dev/null
+++ b/tracecmd/.gitignore
@@ -0,0 +1 @@ 
+trace-cmd