Memory Profiler CLI
Develop a memory profiling tool
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