Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.2 release prep #232

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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