File: procdump.spec.in

package info (click to toggle)
procdump 2.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,900 kB
  • sloc: cpp: 42,512; ansic: 4,610; sh: 1,447; makefile: 107; cs: 76
file content (114 lines) | stat: -rw-r--r-- 3,477 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
Name:           procdump
Version:        @PKG_VERSION@
Release:        %_Revision
Summary:        Sysinternals process dump utility

%if "%{_vendor}" == "debbuild"
Group:          devel
%else
Group:          Development/Tools%{?suse_version:/Other}
%endif

Packager:       OSS Tooling Dev Team <OSSToolingDevTeam@service.microsoft.com>

License:        MIT
URL:            https://github.com/Microsoft/ProcDump-for-Linux
Source0:        %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz

BuildRequires:  gcc, make

%undefine _annotated_build

%if "%{_vendor}" == "debbuild"
BuildRequires:  zlib1g-dev
%else
BuildRequires:  zlib-devel
%endif

Requires:       gdb >= 7.6.1

%description
ProcDump is a command-line utility whose primary purpose is monitoring an application
for various resources and generating crash dumps during a spike that an administrator
or developer can use to determine the cause of the issue. ProcDump also serves as a
general process dump utility that you can embed in other scripts.


%prep
%autosetup


%build
# The makefile doesn't like %%make_build (parallel make)
make CFLAGS="%{optflags}"


%install
%make_install


%files
%license LICENSE
%doc README.md procdump.gif
%{_bindir}/procdump
%{_mandir}/man1/procdump.1*



%changelog
* Wed Sep 6 2023 Mario Hewardt <marioh@microsoft.com> - 2.2
- Adds Azure Linux package
- Fixes memory leaks

* Fri Aug 11 2023 Mario Hewardt <marioh@microsoft.com> - 2.1
- Fixes bug that can lead to crash in monitored .NET process
- Adds thread id to profiler tracing

* Wed Jul 26 2023 Mario Hewardt <marioh@microsoft.com> - 2.0
- -gcm allows you to specify generation or heap (LOH and POH) thresholds.
- -gcgen allows you to create a dump at the start and end of a GC.
- Allow multiple thresholds for memory trigger (-m)

* Thu Jun 1 2023 Mario Hewardt <marioh@microsoft.com> - 1.5
- security hardening

* Fri Mar 3 2023 Mario Hewardt <marioh@microsoft.com> - 1.4.1
- added the capability to dump on .NET 1st chance exception messages
- added wildcard support for .NET exception filters

* Mon Dec 12 2022 Mario Hewardt <marioh@microsoft.com> - 1.4
- added the capability to dump on .NET 1st chance exceptions (-e and -f)

* Mon Sep 26 2022 Javid Habibi <jahabibi@microsoft.com> - 1.3
- added process group trigger
- BREAKING CHANGE: rework CLI interface to match that of Procdump for Windows
- various small bug fixes

* Tue Sep 14 2021 Javid Habibi <jahabibi@microsoft.com> - 1.2
- added signal trigger
- added custom filepath for memory dump generation
- various small bug fixes

* Fri Apr 3 2020 Javid Habibi <jahabibi@microsoft.com> - 1.1.1
- implimented thread and file descriptor count trigger
- added polling interval switch

* Mon Dec 9 2019 Javid Habibi <jahabibi@microsoft.com> - 1.1
- Added support for .Net Core 3.x+ core dump generation that results in more manageable core dump sizes

* Fri Nov 8 2019 Javid Habibi <jahabibi@microsoft.com> - 1.0.2
- implimented -w target flag
- fixed pthread cancellation bug
- added additional error checking for null process names
- implimented a minimal kernel check validation
- various bug fixes

* Wed Jan 10 2018 Javid Habibi <jahabibi@microsoft.com> - 1.0.1
- fixed potential deadlock upon malloc failing
- fixed improper process name parsing and sanitizing process
  name for dump file generation
- fixed various typos
- fixed post-build check failures on openSUSE

* Tue Dec 05 2017 Javid Habibi <jahabibi@microsoft.com> - 1.0
- Initial release