PM: tools: sleepgraph: Correct the home link
PATCH 1/1 PM: tools: sleepgraph: Correct the home link
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.
--- tools/power/pm-graph/sleepgraph.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
tools/power/pm-graph/sleepgraph.py +4 -3
@@ -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 # [email protected]: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:
Signature · 1 line
2.34.1
Todd Brandt
maintainerQuoted 31 lines · Yo-Jung (Leo) Lin
The 01.org/pm-graph link in the
sleepgraph.pyno 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 <[email protected]>---
tools/power/pm-graph/sleepgraph.py | 7 ++++---1 file changed, 4 insertions(+), 3 deletions(-)tools/power/pm- renamed from tools/power/pm-graph/sleepgraph.py +0
-0
graph/sleepgraph.py
indexef87e63c05c7..f95061d6069f100755tools/power/pm-graph/sleepgraph.py +1
-1@@ -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
# [email protected]:intel/pm-graph
#tools/power/pm-graph/sleepgraph.py +0
-0@@ -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
Quoted 8 lines
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.