diff mbox series

PM: tools: sleepgraph: Correct the home link

Message ID 20240908095722.7683-1-0xff07@gmail.com
State New
Headers show
Series PM: tools: sleepgraph: Correct the home link | expand

Commit Message

Yo-Jung (Leo) Lin Sept. 8, 2024, 9:57 a.m. UTC
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(-)

Comments

Todd Brandt Sept. 10, 2024, 10:41 p.m. UTC | #1
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.
diff mbox series

Patch

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: