[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7ea23975329e4a22fd235cc28d365296fec47739.camel@linux.intel.com>
Date: Mon, 26 Aug 2024 13:49:48 -0700
From: Todd Brandt <todd.e.brandt@...ux.intel.com>
To: "Yo-Jung (Leo) Lin" <0xff07@...il.com>
Cc: linux-kernel-mentees@...ts.linuxfoundation.org, ricardo@...liere.net,
skhan@...uxfoundation.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: Re: [PATCH] pm-graph: ignore sleepgraph.py artifacts
On Sun, 2024-08-25 at 17:53 +0800, Yo-Jung (Leo) Lin wrote:
> 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@...il.com>
> ---
> tools/power/pm-graph/.gitignore | 3 +++
> 1 file changed, 3 insertions(+)
> create mode 100644 tools/power/pm-graph/.gitignore
>
> diff --git a/tools/power/pm-graph/.gitignore b/tools/power/pm-
> graph/.gitignore
> new file mode 100644
> index 000000000000..37762a8a06d6
> --- /dev/null
> +++ b/tools/power/pm-graph/.gitignore
> @@ -0,0 +1,3 @@
> +# sleepgraph.py artifacts
> +suspend-[0-9]*-[0-9]*
> +suspend-[0-9]*-[0-9]*-x[0-9]*
This seems fine. If you run the tool inside the tools/power/pm-graph
folder I can see how it would be annoying to have all those output
directories show up in git status. (re-send with Acked-by)
Acked-by: Todd Brandt <todd.e.brandt@...ux.intel.com>
Powered by blists - more mailing lists