Projects
Eulaceura:Factory
memleax
_service:obs_scm:memleax.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:memleax.spec of Package memleax
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 * Fri Jun 30 2023 zhangxiang <zhangxiang@iscas.ac.cn> - 1.1.1-7 - add riscv64 support * Wed Dec 14 2022 doupengda <doupengda@loongson.cn> - 1.1.1-6 - add loongarch64 support * Wed Aug 04 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.1.1-5 - DESC: delete BuildRequires gdb * Mon Jun 28 2021 wulei <wulei80@huawei.com> - 1.1.1-4 - fix missing gcc * Mon Oct 19 2020 Qingqing Li <liqingqing3@huawei.com> - fix source0 error * Tue Oct 13 2020 Qingqing Li <liqingqing3@huawei.com> - update source0 * Sun Mar 29 2020 Wei Xiong <myeuler@163.com> - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2