Compare commits
15 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ef6bbb1f6 | ||
|
|
9d0bb29694 | ||
|
|
e74310b8f8 | ||
|
|
c00efa0369 | ||
|
|
534da69cab | ||
|
|
501587cb21 | ||
|
|
ecf3715a07 | ||
|
|
0812c99faa | ||
|
|
1ea52739d7 | ||
|
|
365d4cc97a | ||
|
|
765c4c0f8a | ||
|
|
596a309f7a | ||
|
|
7a8c14ccf2 | ||
|
|
2a9987e103 | ||
|
|
329b5e3690 |
6 changed files with 1 additions and 100 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
/wult-*.tar.gz
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# wult
|
||||
|
||||
The wult package
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- a/setup.py 2023-06-12 18:02:49.614954995 +0300
|
||||
+++ b/setup.py 2023-06-12 18:03:15.074871704 +0300
|
||||
@@ -56,8 +56,6 @@
|
||||
python_requires=">=3.7",
|
||||
version=get_version("wulttools/wult/ToolInfo.py"),
|
||||
data_files=get_data_files("share/man/man1", "docs/man1") + \
|
||||
- get_data_files("share/wult/drivers", "drivers") + \
|
||||
- get_data_files("share/wult/helpers", "helpers") + \
|
||||
get_data_files("share/wult/defs/wult", "defs/wult"),
|
||||
scripts=_TOOLNAMES,
|
||||
packages=find_packages(),
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (wult-1.12.14.tar.gz) = e810c827d52257ce816e9b6ccbfcded9abfa931cffcfafcc550c78fa4237220197fd18b0afa4163094fa6c81ddcc7cb1a66e92cc167977a868223fea0c361fdc
|
||||
84
wult.spec
84
wult.spec
|
|
@ -1,84 +0,0 @@
|
|||
Name: wult
|
||||
Version: 1.12.14
|
||||
Release: %autorelease
|
||||
Summary: A tool for measuring C-state latency in Linux
|
||||
|
||||
License: BSD-3-Clause AND GPL-2.0-only
|
||||
Url: https://intel.github.io/wult
|
||||
Source0: https://github.com/intel/wult/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# exclude backup kernel driver and duplications
|
||||
Patch0: exclude-dirs.patch
|
||||
|
||||
# measuring C-state latency for Intel architectures
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
BuildRequires: bpftool
|
||||
BuildRequires: clang
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: kernel-devel
|
||||
BuildRequires: libbpf-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
Requires: pciutils
|
||||
Requires: pepc
|
||||
Requires: python3-%{name} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
The name Wult comes from "Wake Up Latency Tracer". Wult measures C-state
|
||||
latency by scheduling a delayed interrupt at a known time in the future, so it
|
||||
relies on devices allowing for delayed interrupts. Today wult can use LAPIC as
|
||||
the source of delayed interrupts, as well as I210 PCIe Gigabit Ethernet
|
||||
adapter. However, other devices could be supported as well, for example other
|
||||
Intel Ethernet adapters.
|
||||
|
||||
%package -n python3-%{name}
|
||||
Summary: Wult Python library
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n python3-%{name}
|
||||
Wult Python libraries
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%make_build -C helpers/ndl-helper
|
||||
%make_build -C helpers/wult-hrt-helper
|
||||
%make_build -C helpers/wult-tdt-helper
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files wultlibs wulttools
|
||||
|
||||
install -pDm755 helpers/ndl-helper/ndl-helper %{buildroot}%{_bindir}/ndl-helper
|
||||
install -pDm755 helpers/wult-hrt-helper/wult-hrt-helper %{buildroot}%{_bindir}/wult-hrt-helper
|
||||
install -pDm755 helpers/wult-tdt-helper/wult-tdt-helper %{buildroot}%{_bindir}/wult-tdt-helper
|
||||
|
||||
%check
|
||||
%pytest -v
|
||||
|
||||
%files
|
||||
%doc README.md CHANGELOG.md
|
||||
%license LICENSE.md
|
||||
%{_bindir}/exercise-sut
|
||||
%{_bindir}/ndl
|
||||
%{_bindir}/ndl-helper
|
||||
%{_bindir}/wult
|
||||
%{_bindir}/wult-hrt-helper
|
||||
%{_bindir}/wult-tdt-helper
|
||||
%{_datadir}/wult
|
||||
%{_mandir}/man1/exercise-sut.1*
|
||||
%{_mandir}/man1/ndl.1*
|
||||
%{_mandir}/man1/wult.1*
|
||||
|
||||
%files -n python3-%{name} -f %{pyproject_files}
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Loading…
Add table
Add a link
Reference in a new issue