public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Todd Brandt <todd.e.brandt@linux.intel.com>
To: "Yo-Jung (Leo) Lin" <0xff07@gmail.com>
Cc: linux-kernel-mentees@lists.linuxfoundation.org,
	ricardo@marliere.net,  skhan@linuxfoundation.org,
	linux-kernel@vger.kernel.org,  linux-pm@vger.kernel.org
Subject: Re: [PATCH] pm-graph: ignore sleepgraph.py artifacts
Date: Mon, 26 Aug 2024 13:30:42 -0700	[thread overview]
Message-ID: <36376e1cb02b3ef44b849fc28e6b3f38e18a50ef.camel@linux.intel.com> (raw)
In-Reply-To: <20240825095353.7578-1-0xff07@gmail.com>

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@gmail.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.

Signed-off-by: Todd Brandt <todd.e.brandt@linux.intel.com>



  reply	other threads:[~2024-08-26 20:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-25  9:53 [PATCH] pm-graph: ignore sleepgraph.py artifacts Yo-Jung (Leo) Lin
2024-08-26 20:30 ` Todd Brandt [this message]
2024-08-26 20:49 ` Todd Brandt
2024-09-04 12:33   ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36376e1cb02b3ef44b849fc28e6b3f38e18a50ef.camel@linux.intel.com \
    --to=todd.e.brandt@linux.intel.com \
    --cc=0xff07@gmail.com \
    --cc=linux-kernel-mentees@lists.linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=ricardo@marliere.net \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox