summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/stress/files/texinfo.patch79
-rw-r--r--meta/recipes-extended/stress/stress_1.0.4.bb14
2 files changed, 93 insertions, 0 deletions
diff --git a/meta/recipes-extended/stress/files/texinfo.patch b/meta/recipes-extended/stress/files/texinfo.patch
new file mode 100644
index 0000000000..5ac595192f
--- /dev/null
+++ b/meta/recipes-extended/stress/files/texinfo.patch
@@ -0,0 +1,79 @@
1--- a/doc/stress.texi
2+++ b/doc/stress.texi
3@@ -62,47 +62,47 @@
4
5 @table @samp
6 @item -?
7-@itemx --help
8+@item --help
9 Show help information.
10
11-@itemx --version
12+@item --version
13 Show version information.
14
15 @item -v
16-@itemx --verbose
17+@item --verbose
18 Turn up verbosity.
19
20 @item -q
21-@itemx --quiet
22+@item --quiet
23 Turn down verbosity.
24
25 @item -n
26-@itemx --dry-run
27+@item --dry-run
28 Show what would have been done.
29
30 @item -t @var{secs}
31-@itemx --timeout @var{secs}
32+@item --timeout @var{secs}
33 Time out after @var{secs} seconds.
34
35-@itemx --backoff @var{usecs}
36+@item --backoff @var{usecs}
37 Wait for factor of @var{usecs} microseconds before starting work.
38
39 @item -c @var{forks}
40-@itemx --cpu @var{forks}
41+@item --cpu @var{forks}
42 Spawn @var{forks} processes each spinning on @samp{sqrt()}.
43
44 @item -i @var{forks}
45-@itemx --io @var{forks}
46+@item --io @var{forks}
47 Spawn @var{forks} processes each spinning on @samp{sync()}.
48
49 @item -m @var{forks}
50-@itemx --vm @var{forks}
51+@item --vm @var{forks}
52 Spawn @var{forks} processes each spinning on @samp{malloc()}.
53
54-@itemx --vm-bytes @var{bytes}
55+@item --vm-bytes @var{bytes}
56 Allocate @var{bytes} number of bytes. The default is 1.
57
58-@itemx --vm-hang
59+@item --vm-hang
60 Instruct each vm hog process to go to sleep after allocating memory. This
61 contrasts with their normal behavior, which is to free the memory and
62 reallocate @emph{ad infinitum}. This is useful for simulating low memory
63@@ -114,13 +114,13 @@
64 @end example
65
66 @item -d @var{forks}
67-@itemx --hdd @var{forks}
68+@item --hdd @var{forks}
69 Spawn @var{forks} processes each spinning on @samp{write()}.
70
71-@itemx --hdd-bytes @var{bytes}
72+@item --hdd-bytes @var{bytes}
73 Write @var{bytes} number of bytes. The default is 1GB.
74
75-@itemx --hdd-noclean
76+@item --hdd-noclean
77 Do not unlink file(s) to which random ASCII data is written.
78
79 @end table
diff --git a/meta/recipes-extended/stress/stress_1.0.4.bb b/meta/recipes-extended/stress/stress_1.0.4.bb
new file mode 100644
index 0000000000..44f2fc64dd
--- /dev/null
+++ b/meta/recipes-extended/stress/stress_1.0.4.bb
@@ -0,0 +1,14 @@
1DESCRIPTION = "Deliberately simple workload generator for POSIX systems. It \
2imposes a configurable amount of CPU, memory, I/O, and disk stress on the system."
3HOMEPAGE = "http://people.seas.harvard.edu/~apw/stress/"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6
7SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/stress/stress-${PV}.tar.gz/a607afa695a511765b40993a64c6e2f4/stress-${PV}.tar.gz \
8 file://texinfo.patch \
9 "
10
11SRC_URI[md5sum] = "a607afa695a511765b40993a64c6e2f4"
12SRC_URI[sha256sum] = "369c997f65e8426ae8b318d4fdc8e6f07a311cfa77cc4b25dace465c582163c0"
13
14inherit autotools