|
|
797efa |
# vim: syntax=spec
|
|
|
797efa |
|
|
|
797efa |
Name: memstrack
|
|
|
bd4607 |
Version: 0.2.4
|
|
|
bd4607 |
Release: 1%{?dist}
|
|
|
797efa |
Summary: A memory allocation tracer, like a hot spot analyzer for memory allocation
|
|
|
797efa |
License: GPLv3
|
|
|
797efa |
URL: https://github.com/ryncsn/memstrack
|
|
|
797efa |
VCS: git+git@github.com:ryncsn/memstrack.git
|
|
|
797efa |
BuildRequires: make
|
|
|
797efa |
BuildRequires: gcc
|
|
|
797efa |
BuildRequires: ncurses-devel
|
|
|
797efa |
|
|
|
bd4607 |
Source: https://github.com/ryncsn/memstrack/archive/refs/tags/v%{version}.tar.gz
|
|
|
bd4607 |
|
|
|
bd4607 |
Patch1: 0001-Skip-memcg-info-in-__process_stacktrace-for-page_own.patch
|
|
|
bd4607 |
Patch2: 0002-Fix-data-type-error-in-perf_handle_mm_page_alloc.patch
|
|
|
797efa |
|
|
|
797efa |
%description
|
|
|
797efa |
A memory allocation tracer, like a hot spot analyzer for memory allocation
|
|
|
797efa |
|
|
|
797efa |
%prep
|
|
|
bd4607 |
%setup -q -n memstrack-%{version}
|
|
|
bd4607 |
%patch1 -p1
|
|
|
bd4607 |
%patch2 -p1
|
|
|
797efa |
|
|
|
797efa |
%build
|
|
|
797efa |
%{set_build_flags}
|
|
|
797efa |
%{make_build}
|
|
|
797efa |
|
|
|
797efa |
%install
|
|
|
797efa |
mkdir -p %{buildroot}/%{_bindir}
|
|
|
797efa |
install -p -m 755 memstrack %{buildroot}/%{_bindir}
|
|
|
797efa |
|
|
|
797efa |
%files
|
|
|
797efa |
%doc README.md
|
|
|
797efa |
%license LICENSE
|
|
|
797efa |
%{_bindir}/memstrack
|
|
|
797efa |
|
|
|
797efa |
%changelog
|
|
|
bd4607 |
* Fri Jul 15 2022 Tao Liu <ltao@redhat.com> - 0.2.4-1
|
|
|
bd4607 |
- Rebase to latest upstream(813c2feaa2f)
|
|
|
bd4607 |
|
|
|
797efa |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.3-2
|
|
|
797efa |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
797efa |
Related: rhbz#1991688
|
|
|
797efa |
|
|
|
797efa |
* Fri Jul 09 2021 Kairui Song <kasong@redhat.com> - 0.2.3-1
|
|
|
797efa |
- Update to upstream latest release
|
|
|
797efa |
|
|
|
797efa |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.2-2
|
|
|
797efa |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
797efa |
|
|
|
797efa |
* Mon Feb 08 2021 Kairui Song <kasong@redhat.com> - 0.2.2-1
|
|
|
797efa |
- Update to upstream latest release
|
|
|
797efa |
|
|
|
797efa |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.12-3
|
|
|
797efa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
797efa |
|
|
|
797efa |
* Mon Jan 11 2021 Timm Bäder <tbaeder@redhat.com> - 0.1.12-2
|
|
|
797efa |
- Use %%make_build macro
|
|
|
797efa |
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
|
|
|
797efa |
|
|
|
797efa |
* Sun Aug 30 2020 Kairui Song <kasong@redhat.com> - 0.1.12-1
|
|
|
797efa |
- Update to upstream latest release
|
|
|
797efa |
|
|
|
797efa |
* Thu Jul 30 2020 Kairui Song <kasong@redhat.com> - 0.1.9-1
|
|
|
797efa |
- Update to upstream latest release
|
|
|
797efa |
|
|
|
797efa |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-2
|
|
|
797efa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
797efa |
|
|
|
797efa |
* Sat Jun 06 2020 Kairui Song <kasong@redhat.com> - 0.1.8-1
|
|
|
797efa |
- Update to upstream latest release
|
|
|
797efa |
|
|
|
797efa |
* Sat May 30 2020 Kairui Song <ryncsn@gmail.com> - 0.1.5-1
|
|
|
797efa |
- Update to upstream latest release
|
|
|
797efa |
|
|
|
797efa |
* Tue Apr 21 2020 Kairui Song <ryncsn@gmail.com> - 0.1.2-1
|
|
|
797efa |
- Update to upstream latest release
|
|
|
797efa |
|
|
|
797efa |
* Sun Mar 15 2020 Kairui Song <ryncsn@gmail.com> - 0-1.20200310gitee02de2
|
|
|
797efa |
- First release
|