Skip to contentSkip to conversation

trace-cmd: Update .gitignore

PATCH New Steven Rostedt 1 participant 1 message Dec 2, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace-cmd: Update .gitignore

From: "Steven Rostedt (VMware)" <[email protected]>

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.

---
 .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
.gitignore +6 -4
index 6759e511..ca6c9cb6 100644
@@ -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
kernel-shark/.gitignore new file +22 -0
new file mode 100644
index 00000000..a752f4ed
@@ -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
+
tracecmd/.gitignore new file +1 -0
new file mode 100644
index 00000000..30f93eb4
@@ -0,0 +1 @@
+trace-cmd
Signature · 1 line
2.25.4