[PATCH 5/7] rteval: Display core sharing warnings in text report
John Kacur <[email protected]> Tue, 21 Apr 2026 14:26:16 -0400
| Newsgroups | org.kernel.vger.linux-rt-users |
|---|---|
| Message-ID | <[email protected]> |
Add XSLT template to display CoreSharingWarnings in the text report
generated with the -Z option. The warnings appear after the "Tuned state"
section and before "System load" in the report output.
The template conditionally displays the "Core Sharing Warnings:" section
only when warnings are present in the XML, keeping the report clean when
there are no core sharing issues detected.
Example output:
Core Sharing Warnings:
Warning: Housekeeping CPU 0 (isol) shares core with measurement CPU 8 (isol)
Warning: Measurement CPU 1 (isol) shares core with load CPU 9 (isol)
This completes the core sharing validation feature by making the warnings
visible in both the XML report and the human-readable text summary.
Assisted-by: Claude Sonnet 4.5 <[email protected]>
Signed-off-by: John Kacur <[email protected]>
---
rteval/rteval_text.xsl | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/rteval/rteval_text.xsl b/rteval/rteval_text.xsl
index 146302744f58..54dc7d2f9a07 100644
--- a/rteval/rteval_text.xsl
+++ b/rteval/rteval_text.xsl
@@ -160,7 +160,18 @@
</xsl:otherwise>
</xsl:choose>
<xsl:text> </xsl:text>
-
+
+ <!-- Display core sharing warnings if present -->
+ <xsl:if test="SystemInfo/CPUtopology/CoreSharingWarnings/warning">
+ <xsl:text> Core Sharing Warnings: </xsl:text>
+ <xsl:for-each select="SystemInfo/CPUtopology/CoreSharingWarnings/warning">
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="."/>
+ <xsl:text> </xsl:text>
+ </xsl:for-each>
+ <xsl:text> </xsl:text>
+ </xsl:if>
+
<xsl:text> System load: </xsl:text>
<xsl:text> Load average: </xsl:text>
<xsl:value-of select="loads/@load_average"/>
--
2.53.0