Re: [PATCH] PM: tools: sleepgraph: Correct the home link
From: Todd Brandt
Date: Tue Sep 10 2024 - 18:42:05 EST
On Sun, 2024-09-08 at 17:57 +0800, Yo-Jung (Leo) Lin wrote:
> The 01.org/pm-graph link in the sleepgraph.py no longer point to the
> pm-graph home page. Replace it with the home page link in the README.
>
> Signed-off-by: Yo-Jung (Leo) Lin <0xff07@xxxxxxxxx>
> ---
> tools/power/pm-graph/sleepgraph.py | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/tools/power/pm-graph/sleepgraph.py b/tools/power/pm-
> graph/sleepgraph.py
> index ef87e63c05c7..f95061d6069f 100755
> --- a/tools/power/pm-graph/sleepgraph.py
> +++ b/tools/power/pm-graph/sleepgraph.py
> @@ -18,7 +18,7 @@
> #
> # Links:
> # Home Page
> -# https://01.org/pm-graph
> +#
> https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overview.html
> # Source repo
> # git@xxxxxxxxxx:intel/pm-graph
> #
> @@ -2753,8 +2753,9 @@ class Timeline:
> def createHeader(self, sv, stamp):
> if(not stamp['time']):
> return
> - self.html += '<div class="version"><a
> href="https://01.org/pm-graph">%s v%s</a></div>' \
> - % (sv.title, sv.version)
> + self.html += '<div class="version"><a
> href="https://www.intel.com/content'+\
> + '/www/us/en/developer/topic-technology/open/pm-
> graph/overview.html">%s v%s</a></div>' \
> + % (sv.title, sv.version)
> if sv.logmsg and sv.testlog:
> self.html += '<button id="showtest"
> class="logbtn btnfmt">log</button>'
> if sv.dmesglog:
Hi, yea I made this change in the github source after the release of
version 5.12 and haven't pushed it over to the kernel source
yet. Thanks for the heads up.
Give me a day or two and I'll submit an updated version of this patch
which includes all the other changes since 5.12 so they can be fully in
sync.