Skip to content

Commit e7ddf08

Browse files
authored
Includes improvements related to containerized workflows. (#250)
* Updates * Updates * Updates * Updates * Updates * Updates * Address PR feedback
1 parent 03aa1b1 commit e7ddf08

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+602
-205
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ endif()
3939
set(PROJECT_VERSION_TWEAK 0)
4040
file(READ "dist/changelog" CHANGE_LOG)
4141

42-
#
43-
# enable Debug while pre-release; disable Debug in post-release
44-
#
45-
#set(CMAKE_BUILD_TYPE Debug)
46-
#option(DEBUG_K "Enter debug mode" On)
47-
4842
#
4943
# package name
5044
#

INSTALL.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
sudo yum install procdump
66
```
77

8-
## Ubuntu 20.04, 22.04, 23.04
8+
## Ubuntu 20.04, 22.04, 24.04
99
#### 1. Register Microsoft key and feed
1010
```sh
1111
wget -q https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
@@ -48,21 +48,32 @@ sudo apt-get update
4848
sudo apt-get install procdump
4949
```
5050

51-
## Fedora 37
51+
## Fedora 38
5252
#### 1. Register Microsoft key and feed
5353
```sh
54-
sudo rpm -Uvh https://packages.microsoft.com/config/fedora/37/packages-microsoft-prod.rpm
54+
sudo rpm -Uvh https://packages.microsoft.com/config/fedora/38/packages-microsoft-prod.rpm
5555
```
5656

5757
#### 2. Install Procdump
5858
```sh
5959
sudo dnf install procdump
6060
```
6161

62-
## Fedora 38
62+
## Fedora 39
6363
#### 1. Register Microsoft key and feed
6464
```sh
65-
sudo rpm -Uvh https://packages.microsoft.com/config/fedora/38/packages-microsoft-prod.rpm
65+
sudo rpm -Uvh https://packages.microsoft.com/config/fedora/39/packages-microsoft-prod.rpm
66+
```
67+
68+
#### 2. Install Procdump
69+
```sh
70+
sudo dnf install procdump
71+
```
72+
73+
## Fedora 40
74+
#### 1. Register Microsoft key and feed
75+
```sh
76+
sudo rpm -Uvh https://packages.microsoft.com/config/fedora/40/packages-microsoft-prod.rpm
6677
```
6778

6879
#### 2. Install Procdump

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Capture Usage:
2828
[-m|-ml Commit_Usage1[,Commit_Usage2...]]
2929
[-gcm [<GCGeneration>: | LOH: | POH:]Memory_Usage1[,Memory_Usage2...]]
3030
[-gcgen Generation]
31-
[-restrack]
31+
[-restrack [nodump]]
3232
[-sr Sample_Rate]
3333
[-tc Thread_Threshold]
3434
[-fc FileDescriptor_Threshold]
@@ -39,7 +39,7 @@ Capture Usage:
3939
[-mc Custom_Dump_Mask]
4040
[-pf Polling_Frequency]
4141
[-o]
42-
[-log]
42+
[-log syslog|stdout]
4343
{
4444
{{[-w] Process_Name | [-pgid] PID} [Dump_File | Dump_Folder]}
4545
}
@@ -53,7 +53,7 @@ Options:
5353
-ml Memory commit threshold(s) (MB) below which to create dumps.
5454
-gcm [.NET] GC memory threshold(s) (MB) above which to create dumps for the specified generation or heap (default is total .NET memory usage).
5555
-gcgen [.NET] Create dump when the garbage collection of the specified generation starts and finishes.
56-
-restrack Enable memory leak tracking (malloc family of APIs).
56+
-restrack Enable memory leak tracking (malloc family of APIs). Use the nodump option to prevent dump generation and only produce restrack report(s).
5757
-sr Sample rate when using -restrack.
5858
-tc Thread count threshold above which to create a dump of the process.
5959
-fc File descriptor count threshold above which to create a dump of the process.
@@ -64,7 +64,7 @@ Options:
6464
-mc Custom core dump mask (in hex) indicating what memory should be included in the core dump. Please see 'man core' (/proc/[pid]/coredump_filter) for available options.
6565
-pf Polling frequency.
6666
-o Overwrite existing dump file.
67-
-log Writes extended ProcDump tracing to syslog.
67+
-log Writes extended ProcDump tracing to the specified output stream (syslog or stdout).
6868
-w Wait for the specified process to launch if it's not running.
6969
-pgid Process ID specified refers to a process group ID.
7070
```
@@ -121,6 +121,10 @@ The following will create a core dump and a memory leak report when memory usage
121121
```
122122
sudo procdump -m 100 -restrack 1234
123123
```
124+
The following will create a memory leak report (no dumps) when memory usage is >= 100 MB
125+
```
126+
sudo procdump -m 100 -restrack nodump 1234
127+
```
124128
The following will create a core dump and a memory leak report when memory usage is >= 100 MB by sampling every 10th memory allocation.
125129
```
126130
sudo procdump -m 100 -restrack -sr 10 1234

dist/changelog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
* Sat May 25 2024 Mario Hewardt <marioh@microsoft.com> - 3.3
2+
- Adds improvements related to containerized workflows
3+
14
* Mon Feb 5 2024 Mario Hewardt <marioh@microsoft.com> - 3.2
25
- Adds mmap/munmap to resource tracking
36

0 commit comments

Comments
 (0)