Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From b21ca9f3911628fb66f308c6916485bbbcfb29a4 Mon Sep 17 00:00:00 2001 |
| 2 | From: Lin Yu <lin.yu@windriver.com> |
| 3 | Date: Tue, 19 Aug 2014 05:16:16 -0400 |
| 4 | Subject: [PATCH] lmbench: Fix "make html" graph failure |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 5 | |
| 6 | The html-list perl script cannot parse the first line of the result |
| 7 | files about the lmbench version. |
| 8 | |
| 9 | Additional fixes are to make the result's html pages easier to understand. |
| 10 | |
| 11 | Signed-off-by: Lin Yu <lin.yu@windriver.com> |
| 12 | Signed-off-by: Fupan Li <fupan.li@windriver.com> |
| 13 | |
| 14 | Reworded patch description. |
| 15 | |
Patrick Williams | b9af875 | 2023-01-30 13:28:01 -0600 | [diff] [blame^] | 16 | Upstream-Status: Inappropriate [ configuration ] |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 17 | |
| 18 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> |
| 19 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 20 | --- |
| 21 | results/Makefile | 1 + |
| 22 | scripts/html-list | 7 ++----- |
| 23 | 2 files changed, 3 insertions(+), 5 deletions(-) |
| 24 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 25 | diff --git a/results/Makefile b/results/Makefile |
| 26 | index 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 |
| 37 | diff --git a/scripts/html-list b/scripts/html-list |
| 38 | index 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 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 49 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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> |