module-profiler: avoid large stack alloc
If the profiler manages to fill the complete buffer, we would have 8MB of data that we need to allocate on the stack. Don't do that and instead use a preallocated buffer large enough to copy things into.
Loading
Please register or sign in to comment