Skip to content

Commit

Permalink
3.2 release prep (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioHewardt authored Feb 5, 2024
1 parent 510abf6 commit 7464e53
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@ Options:
-w Wait for the specified process to launch if it's not running.
-pgid Process ID specified refers to a process group ID.
```
### Resource Tracking
The -restrack switch activates resource tracking, allowing for the monitoring and reporting of any resource allocations that have not been freed at the time of generating the core dump. The results are saved to a file with a '.restrack' extension. Currently, the following resource allocation/deallocation functions are tracked:

Allocation:
* malloc
* calloc
* realloc
* reallocarray
* mmap

Deallocation:
* free
* munmap

### Examples
> The following examples all target a process with pid == 1234
Expand Down
3 changes: 3 additions & 0 deletions dist/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* Mon Feb 5 2024 Mario Hewardt <marioh@microsoft.com> - 3.2
- Adds mmap/munmap to resource tracking

* Tue Jan 23 2024 Mario Hewardt <marioh@microsoft.com> - 3.1
- Adds ability to specify multiple comma separated signals
- Adds the new -mc switch which controls what type of memory is included in the core dumps
Expand Down
2 changes: 1 addition & 1 deletion procdump.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" Manpage for procdump.
.TH man 8 "1/23/2024" "3.1" "procdump manpage"
.TH man 8 "2/5/2024" "3.2" "procdump manpage"
.SH NAME
procdump \- generate coredumps based off performance triggers.
.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion src/ProcDumpConfiguration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ bool PrintConfiguration(struct ProcDumpConfiguration *self)
void PrintBanner()
{
printf("\nProcDump v%s - Sysinternals process dump utility\n", STRFILEVER);
printf("Copyright (C) 2023 Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n");
printf("Copyright (C) 2024 Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n");
printf("Mark Russinovich, Mario Hewardt, John Salem, Javid Habibi\n");
printf("Sysinternals - www.sysinternals.com\n\n");

Expand Down

0 comments on commit 7464e53

Please sign in to comment.