]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pm-graph: Make git ignore sleepgraph.py artifacts
authorYo-Jung (Leo) Lin <0xff07@gmail.com>
Sun, 25 Aug 2024 09:53:50 +0000 (17:53 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 Sep 2024 12:32:09 +0000 (14:32 +0200)
By default, sleepgraph.py creates suspend-{date}-{time} directories
to store artifacts, or suspend-{date}-{time}-xN if the --multi option
is used.

Ignore those directories by adding a .gitignore file.

Signed-off-by: Yo-Jung (Leo) Lin <0xff07@gmail.com>
Acked-by: Todd Brandt <todd.e.brandt@linux.intel.com>
Link: https://patch.msgid.link/20240825095353.7578-1-0xff07@gmail.com
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/pm-graph/.gitignore [new file with mode: 0644]

diff --git a/tools/power/pm-graph/.gitignore b/tools/power/pm-graph/.gitignore
new file mode 100644 (file)
index 0000000..37762a8
--- /dev/null
@@ -0,0 +1,3 @@
+# sleepgraph.py artifacts
+suspend-[0-9]*-[0-9]*
+suspend-[0-9]*-[0-9]*-x[0-9]*