1From b21ca9f3911628fb66f308c6916485bbbcfb29a4 Mon Sep 17 00:00:00 2001 2From: Lin Yu <lin.yu@windriver.com> 3Date: Tue, 19 Aug 2014 05:16:16 -0400 4Subject: [PATCH] lmbench: Fix "make html" graph failure 5 6The html-list perl script cannot parse the first line of the result 7files about the lmbench version. 8 9Additional fixes are to make the result's html pages easier to understand. 10 11Signed-off-by: Lin Yu <lin.yu@windriver.com> 12Signed-off-by: Fupan Li <fupan.li@windriver.com> 13 14Reworded patch description. 15 16Upstream-Status: Inappropriate [ configuration ] 17 18Signed-off-by: Mark Hatle <mark.hatle@windriver.com> 19 20--- 21 results/Makefile | 1 + 22 scripts/html-list | 7 ++----- 23 2 files changed, 3 insertions(+), 5 deletions(-) 24 25diff --git a/results/Makefile b/results/Makefile 26index 0935376..1ef9a15 100644 27--- a/results/Makefile 28+++ b/results/Makefile 29@@ -186,6 +186,7 @@ paper: 30 # scratch makes you want a Ghz machine. 31 html: dirs 32 -make clean 33+ make ps 34 #$(SCRIPTS)bghtml $(BG) 35 $(SCRIPTS)html-list $(LIST) 36 $(MK) LIST="$(LIST)" summary > HTML/summary.out 2> HTML/summary.errs 37diff --git a/scripts/html-list b/scripts/html-list 38index 9850461..6383115 100755 39--- a/scripts/html-list 40+++ b/scripts/html-list 41@@ -14,7 +14,7 @@ open(H, ">HTML/specific.html"); 42 print H <<EOF; 43 <title>LMBENCH System Results</title> 44 <h1>LMBENCH System Results</h1> 45-<h2><a href=summary>Summary of results</a></h2> 46+<h2><a href=summary.out>Summary of results</a></h2> 47 <hr> 48 EOF 49 50@@ -47,7 +47,7 @@ foreach $os (@os) { 51 open(F, $file); 52 $_ = <F>; 53 close(F); 54- next unless /lmbench1.[01]/; 55+ next unless /lmbench[0-9]+.[01]/; 56 chop; 57 $title = $_; 58 #s/.lmbench1.? results for //; 59@@ -103,10 +103,7 @@ EOF 60 if $i < $#os; 61 print S<<EOF; 62 <h4>$title</h4> 63-<a href=../$doc{$what}>Information on this benchmark</a> (Not up to date) 64 <p><IMG SRC="${what}${scale}$N.gif">\n<p> 65-<a href=../lmbench.html> 66-<img align=middle src="../gifs/arrows/b_arrow.gif">LMBENCH table of contents</a> 67 <a href=specific.html> 68 <img align=middle src=\"../gifs/graph.gif\">System results table of contents</a> 69 <p> 70