News for hackers. Stuff that matters.
Re:Memory Profiling Part 1. Introduction by kouteiheika on Thursday February 15, 2024 @01:30AM (#39379746)
> Instead I've added random sampling - e.g. if ptr % modulo > level - output it or not.

A good alternative that also cuts down on the amount of data significantly is to strip away temporary allocations, say, only emit those allocations which were alive for at least X seconds.

Re:Memory Profiling Part 1. Introduction by malkia on Thursday February 15, 2024 @01:32PM (#39386409)
Ah good idea! It kind of calls for out-of-process to filter this out, or post-process (maybe there is common tooling around).