From 58a345d3461eef3388e382978058b9c9a64fd06b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Apr 2022 20:34:19 +0200 Subject: [PATCH] MusicBuffer: set VMA name Shows the name in /proc/PID/maps, e.g.: 7fa57b000000-7fa57c000000 rw-p 00000000 00:00 0 [anon:MusicBuffer] --- src/MusicBuffer.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MusicBuffer.cxx b/src/MusicBuffer.cxx index 8795dbe9d..297e33ff6 100644 --- a/src/MusicBuffer.cxx +++ b/src/MusicBuffer.cxx @@ -23,7 +23,9 @@ #include MusicBuffer::MusicBuffer(unsigned num_chunks) - :buffer(num_chunks) { + :buffer(num_chunks) +{ + buffer.SetName("MusicBuffer"); } MusicChunkPtr