代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/memleax 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: memleax
Version: 1.1.1
Release: 7
Summary: Memory lead detection tool
License: GPLv2
URL: https://github.com/WuBingzheng/memleax
Source0: https://github.com/WuBingzheng/memleax/archive/v%{version}.tar.gz#/memleax-%{version}.tar.gz
Patch0: 0001-add-loongarch64-support.patch
Patch1: 0002-add-riscv64-support.patch
BuildRequires: make libunwind-devel elfutils-devel gcc
%description
memleax debugs memory leak of a running process by attaching it.
It hooks the target process's invocation of memory allocation and free,
and reports the memory blocks which live long enough as memory leak, in real time.
The default expire threshold is 10 seconds, however you should always
set it by `-e` option according to your scenarios.
It is very *convenient* to use, and suitable for production environment.
There is no need to recompile the program or restart the target process.
You run `memleax` to monitor the target process, wait for the real-time memory
leak report, and then kill it (e.g. by Ctrl-C) to stop monitoring.
memleax follows new threads, but not forked processes.
If you want to debug multiple processes, just run multiple memleax.
%prep
%setup -q
%autosetup -n %{name}-%{version} -p1
%build
./configure
make
%install
make install DESTDIR="%{buildroot}"
%pre
%preun
%post
%postun
%check
%files
%license LICENSE
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%changelog
* Wed Dec 14 2022 doupengda <[email protected]> - 1.1.1-6
- add loongarch64 support
* Wed Aug 04 2021 chenyanpanHW <[email protected]> - 1.1.1-5
- DESC: delete BuildRequires gdb
* Mon Jun 28 2021 wulei <[email protected]> - 1.1.1-4
- fix missing gcc
* Mon Oct 19 2020 Qingqing Li <[email protected]>
- fix source0 error
* Tue Oct 13 2020 Qingqing Li <[email protected]>
- update source0
* Sun Mar 29 2020 Wei Xiong <[email protected]>
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。