SHA256
1
0
forked from pool/pagein

Accepting request 782137 from benchmark

OBS-URL: https://build.opensuse.org/request/show/782137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagein?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2020-03-06 20:28:31 +00:00 committed by Git OBS Bridge
commit 74463c4a7e
4 changed files with 44 additions and 8 deletions

View File

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

3
pagein-0.01.04.tar.gz Normal file
View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Mar 6 14:26:30 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Align SLEap builds with TW Builds.
-------------------------------------------------------------------
Fri Feb 28 09:51:29 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Supplement against bash-completion, not bash
-------------------------------------------------------------------
Thu Feb 27 21:04:01 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.01.04
* Add bash command completion script
* Remove kthreads stat, add in total mappings stat
* Add unreadable skipped pages stats
* Expand pid field to 6 digits
* Manual: change example to Xorg as a process to page in
* Remove defunct command options -d, -t, -w
------------------------------------------------------------------- -------------------------------------------------------------------
Sat May 19 08:45:55 UTC 2018 - mardnh@gmx.de Sat May 19 08:45:55 UTC 2018 - mardnh@gmx.de

View File

@ -1,6 +1,7 @@
# #
# spec file for package pagein # spec file for package pagein
# #
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2018, Martin Hauke <mardnh@gmx.de> # Copyright (c) 2018, Martin Hauke <mardnh@gmx.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -12,30 +13,41 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: pagein Name: pagein
Version: 0.01.00 Version: 0.01.04
Release: 0 Release: 0
Summary: A tool to force swapped out pages back into memory Summary: A tool to force swapped out pages back into memory
License: GPL-2.0-only License: GPL-2.0-only
Group: System/Monitoring Group: System/Monitoring
URL: http://kernel.ubuntu.com/~cking/pagein/ URL: https://kernel.ubuntu.com/~cking/pagein/
Source: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz Source: https://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz
%description %description
Pagein is a tool that forces pages that are in swap to be paged in back Pagein is a tool that forces pages that are in swap to be paged in back
to memory. The main usecase for pagein is to exercise the VM and swap to memory. The main usecase for pagein is to exercise the VM and swap
subsystems for testing purposes. subsystems for testing purposes.
%package bash-completion
Summary: Bash Completion for %{name}
Group: System/Benchmark
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (pagein and bash-completion)
BuildArch: noarch
%description bash-completion
Bash completion script for %{name}.
%prep %prep
%setup -q %setup -q
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
@ -45,4 +57,7 @@ make %{?_smp_mflags}
%{_bindir}/pagein %{_bindir}/pagein
%{_mandir}/man1/pagein.1%{?ext_man} %{_mandir}/man1/pagein.1%{?ext_man}
%files bash-completion
%{_datadir}/bash-completion/completions/%{name}
%changelog %changelog