[PATCH] PM: tools: sleepgraph: Correct the home link

Yo-Jung (Leo) Lin posted 1 patch 2 months, 3 weeks ago
tools/power/pm-graph/sleepgraph.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
[PATCH] PM: tools: sleepgraph: Correct the home link
Posted by Yo-Jung (Leo) Lin 2 months, 3 weeks ago
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@gmail.com>
---
 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@github.com: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:
-- 
2.34.1
Re: [PATCH] PM: tools: sleepgraph: Correct the home link
Posted by Todd Brandt 2 months, 2 weeks ago
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@gmail.com>
> ---
>  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@github.com: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.