Memory Profiler CLI

Develop a memory profiling tool

Prompts Chat Republished on Sep 14 0 Bookmarks 0 Copies
Bookmark 0

Prompt template

Format
Text
Outputs
result (text)
Develop a memory profiling tool in C for analyzing process memory usage. Implement process attachment with minimal performance impact. Add heap analysis with allocation tracking. Include memory leak detection with stack traces. Implement memory usage visualization with detailed statistics. Add custom allocator hooking for detailed tracking. Include report generation in multiple formats. Implement filtering options for noise reduction. Add comparison functionality between snapshots. Include command-line interface with interactive mode. Implement signal handling for clean detachment.

What you'll create

The CLI includes interactive operation, filtering and allocator hooks for detailed analysis. Signal handling supports clean detachment from the target process.

Frequently asked questions

Can two snapshots be compared?

Yes. Comparison functionality is explicitly included.

Comments

Tried this prompt? Share what you made, compare results, or ask a question

Up to 4 results. Images up to 2 MB; MP4, WebM, or MOV videos up to 4 MB each