]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
perfglue: profiler stats need more than 1024 bytes
authorLoic Dachary <loic-201408@dachary.org>
Thu, 2 Oct 2014 13:12:30 +0000 (15:12 +0200)
committerLoic Dachary <loic-201408@dachary.org>
Wed, 8 Oct 2014 07:47:50 +0000 (09:47 +0200)
commit472a4b32ae3c47513ba8dbea32f9008f9eec358e
treee619c151a36b0c1dd82cf7a4f3bb393cff438d07
parent1b7fae7b2953649564a9e226b4abedad0ce652cc
perfglue: profiler stats need more than 1024 bytes

With a 1024 bytes buffer to display the stats, the end is truncated.
Use an array on the stack instead of leaking the buffer.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
src/perfglue/heap_profiler.cc