- Update to version 0.07.13:

OBS-URL: https://build.opensuse.org/package/show/benchmark/stress-ng?expand=0&rev=17
This commit is contained in:
Martin Pluskal 2017-01-06 15:23:01 +00:00 committed by Git OBS Bridge
parent 2581d9933e
commit 65fc727f80
4 changed files with 204 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f2622e7be87be931d665a0cc1bb9648f87ea7e997b4b1ca0bb7fe39095d0323
size 344427

3
stress-ng-0.07.13.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1fc8e60653ab75f288ce58b63ed162eedda2d5a2b254f0ad47ed6283deeddfe8
size 349935

View File

@ -1,3 +1,197 @@
-------------------------------------------------------------------
Fri Jan 6 15:09:10 UTC 2017 - mpluskal@suse.com
- Update to version 0.07.13:
* Makefile: bump version
* Makefile: rename check rule to fast-check-all
* manual: update date
* stress-udp: fix build warning on minix
* stress-mmap: fix build issue with ms_flags on GNU/HURD and minix
* add a make check rule to run debian/tests/fast-test-all
* stress-pthread: add error checking on cond, mutex and spinlock init
* add shim abstraction to msync, use this on various stressors
* stress-pthread: check for init failures and use a spinlock on counter
* add new dirdeep max depth directory stressor
* README: Update info on libraries required for a full build
* stress-cpu: fix missing bogo ops counter increment
* enforce 64 byte alignment to buffer
* stress-futex: fix typo in comment
* ensure stacks are aligned to 64 byte boundaries
* stress-hdd: use new align_address helper
* helper: add align_address helper to align a address to power of 2 boundary
* stress-sysinfo: only dump out info on number of mount points on instance 0
* trivial typo in man page
- Changes for version 0.07.12:
* Makefile: bump version
* stress-udp: minix fails on setsockopt SO_REUSEADDR, so ignore it
* stress-get: don't use NULL delta, just pass a zero delta timeval struct
* stress-fifo: catch EINTR as non-fatal error on open
* stress-resources: fix warning message on unused parameter 'pipe_size'
* debian/tests: remove dccp from fast-test-all
* helper: fix build issues on non-linux targets
* update date in the manual
* stress-resources: add pty resource suckage
* stress-resources: add inotify resource suckage
* stress-resources: try to expande pipe to maximum allowed size
* stress-oom-pipe: use stress_probe_max_pipe_size helper
* helper: add stress_probe_max_pipe_size to fine max pipe size
* Add Datagram Congestion Control Protocol dccp stressor
* stress-resources: add single pthread as another resource hogger
* ensure -v output is no wider than 80 chars to avoid line wrap on std tty
* stress-schedpolicy: set policy with param, remove unused new_param
- Changes for version 0.07.11:
* Makefile: bump version
* thrash: bump the priority to 10
* thrash: use RR scheduler if possible on linux
* stress-sctp: don't unlink on an address that is NULL
* stress-schedpolicy: the set/get param was a bit unsound, fix it
* stress-fault: silence a clang warning
* stress-membarrier: pass thread arg as a ctxt_t * type
* helper: make __stress_get_stack_direction static
* stress-fstat: rename jump buffer to jmpbuf to avoid name shadowing
* mlock: fix warning with older pre gcc 4.4 on solaris
* helper: fix some more print pid_t warnings
* fix warnings on printing pid_t type
* stress-cpu: only use gcc optimise attribute on gcc 4.4 or higher
* small cleanups to stress-ng.h
* stress-personality: return EXIT_NOT_IMPLEMENTED if no personalities exist
* replace #ifdef with #if defined() as the default idiom
* makefile: use grep -e instead of grep -f
* add support macro for gcc-7 switch statement case fallthrough
- Changes for version 0.07.10:
* add copyright boiler plate on fast-test-all
* stress-personality: move memset to avoid memset 0 sized array
* forgot to add shim_getlogin to stress-ng.h
* shim: add more secure version of getlogin
* stress-mmapfork: fix typo on buffer sizeof
* stress-link: ensure buffer returned from readlink is terminated with zero
* shim_usleep: use nanosleep if it is available, fallback to older usleep
* stressors: use shim_usleep instead of deprecated usleep
* shim: abort early from shim_usleep if opt_do_run is false
* add usleep shim
* stress-opcode: rename signal handler dummy arg to signum
* stress-membarrier: memset pthread_ret with correct size
* stress-shm: use shim_fallocate rather than posix_fallocate
* stress-hdd: workaround lack of posix_memalign on sun
* stress-rmap: sun builds may not have posix_fallocate, so don't build it
* stress-wait: work around long int pid_t warnings on Sun systems
* stress-wcstr: sun wide char support has some wcs funcs missing
* stress-flock: disable this stressor for sun machines
* makefile: use -f instead of -e for Solaris versions of test
- Changes for version 0.07.09:
* Makefile: bump version
* helper: fix cppcheck warning by initialising val1
* stress-fstat: don't open /dev files to stat them when running as root
* stress-fstat: don't bump counter if fstat fails
* stress-fstat: perform end of test check earlier than later
* stress-sync_file: use sync_file_range2() where required
* allow for static building, using STATIC=1 make
- Changes for version 0.07.08:
* Makefile: bump version
* add NOCLOBBER macro and make some variables noclobberable
* stress-aio-linux: clean up clang warnings
* remove need to pass an argument to stress_get_stack_direction
* add smatchify script to make dist rule
* add smatchify static analysis script
* stress-userfaultfd: remove unnecessary exit_status call
* stress-socket: fix inconsistent indenting
* fast-test-all: remove tailing tabs
* snapcraft Makefile: remove trailing whitespace
* stress-daemon: clean up fd closing and add SIGALRM handler
* make daemon stressor a little more responsive to SIGALRMs
* make snapcraft confinement strict
* getrandom: add support for systems that support getentropy(2)
* shim: add comment about shim functions
* helper: remove caches = NULL for non-linux systems to fix build error
* shim: fall back to allocation via writes on fallocate
* stress-yield: remove need to use alloca, use calloc instead
* manual: add Luis to contributors list and sort names alphabetically
* shim: fix userfaultfd failures due to a typo
* increase STRESS_PROCS_MAX to 4096 for higher load on large iron
* stress-userfaultfd: work around static analysis false positive on fd
* stress-stream: avoid re-assignment of cpu_caches on linux case
* trash: remove traced, it is serving no purpose
* helper: don't re-assign cpu_caches on __linux__ build
* net: iterate to the size of domains rather than using sentinel
* affinity: remove #includes as these are included in stress-ng.h
* stress-oom: add in missing space between ooms and =
- Changes for version 0.07.07:
* Makefile: bump version
* fast-test-all: don't run spawn test for testing
* fast-test-all: remove check for existence of stress-ng
- Changes for version 0.07.06:
* update build rules for Solaris
* add MINIX notes to README
* shim: add check for posix_fallocate (fixes minix build error)
* abstract loff_t as it is not available on *BSD systems
* fix *BSD systems that don't support ino64_t and off64_t types
* stress-fallocate: use shim_fallocate wrapper
* shim: fix non-Linux build failure on shim_mlock2
* stress-fallocate: remove __linux__ only constraints on modes
* cache: make DCACHE and ICACHE #defines kernel gemeric
* remove white space and tabs at end of lines
* shim: add mlock2 system call to shim
* shim: add sched_getattr and sched_setattr shims
* shim: prefix linux_dirent* structs with shim_
* stress-seal: use shim for memfd_create
* stress-ng: minor re-ordering of structs and shim functions
* shim: rename sys_ioprio_* to shim_ioprio_*
* shim: add unshare system call to shim
* shim: add seccomp system call to shim
* shim: add userfaultfd system call to shim
* shim: add some more __linux__ checks
* stress-opcode: use shim_clear_cache
* shim: add NUMA specific system calls to shim
* shim: add memfd_create system call to shim
* shim: add membarrier system call to shim
* shim: add syslog system call to shim
* shim: add kcmp system call to shim
* shim: add __clear_cache GNUC cache clearing helper to shim
* shim: add getramdom system call to shim
* shim: add getdents and getdents64 system calls to shim
* shim: add getcpu system call to shim
* stress-get: use shim_gettid
* shim: add gettid system call to shim
* shim: add fallocate system call to shim
* shim: add copy_file_range system call to shim
* shim: add cacheflush system call to shim
* add shim abstraction layer for sched_yield()
* fast-test-all: add some feedback on when a test is being run
* use pr_fail_err on some more error messages
* fast-test-all: allow for STRESS_NG to specify stress-ng
* stress-epoll: fix build for GNU/HURD
* move all common #includes into stress-ng.h
* stress-ng.h: Add alloc.h include for sun arch
* stress-ng.h: include some more common headers and define _GNU_SOURCE
* stress-schedpolicy: fix broken counter, it was never being incremented
* stress-resources: fix broken counter, it was never being incremented
* stress-personality: fix broken counter, it was never being incremented
* stress-fp-error: fix broken counter, it was never being incremented
* fix broken counter, it was never being incremented
* stress-bind-mount: fix broken counter, it was never being incremented
* stress-handle: fix memory leak on line and also bump counter
* stress-apparmor: free apparmor_path to fix minor memory leak
* ensure cache region is free before termination
* stress-fstat: use sigsetjmp instead of sigjmp
* wrap some overly wide lines
* use pr_fail_err() instead of pr_fail where appropriate
* reduce scope of iterator variable i
* remove alloca in stressor_name_find
* remove space prefixed on klog-ops option
* mincore: touch pages even when mincore fails
* update syscalls.txt
* stress-schedpolicy: add sched_setattr/sched_getattr calls for Linux
* stress-schedpolicy: add more sched syscalls, clean up code
* add schedpolicy stressor
* stress-ng.h: change macro param name in STRESS macro
- Changes for version 0.07.05:
* Makefile: bump version and update codename
* stress-fstat: fix resource leak on dp on error exit path
* stress-fstat: forcibly abort any system call on SIGALRM
* stress-aio-linux: use return as errno rather than errno
* stress-aio-linux: use return as errno rather than errno
* Need to #include <sched.h> when using clone(2)
-------------------------------------------------------------------
Sat Nov 12 13:29:50 UTC 2016 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package stress-ng
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@ -18,7 +18,7 @@
Name: stress-ng
Version: 0.07.04
Version: 0.07.13
Release: 0
Summary: Tool to load and stress a computer
License: GPL-2.0
@ -31,6 +31,7 @@ BuildRequires: libattr-devel
BuildRequires: libbsd-devel
BuildRequires: libcap-devel
BuildRequires: libseccomp-devel
BuildRequires: lksctp-tools-devel
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -50,8 +51,10 @@ export CFLAGS="%{optflags}"
make %{?_smp_mflags}
%install
install -D -p -m 0755 stress-ng %{buildroot}%{_bindir}/stress-ng
install -D -p -m 0644 stress-ng.1 %{buildroot}%{_mandir}/man1/stress-ng.1
install -D -p -m 0755 stress-ng \
%{buildroot}%{_bindir}/stress-ng
install -D -p -m 0644 stress-ng.1 \
%{buildroot}%{_mandir}/man1/stress-ng.1
%files
%defattr(-,root,root)