From: Hugh Dickins Date: Sat, 15 May 2010 02:44:10 +0000 (-0700) Subject: profile: fix stats and data leakage X-Git-Tag: v2.6.34~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16a2164bb03612efe79a76c73da6da44445b9287;p=pandora-kernel.git profile: fix stats and data leakage If the kernel is large or the profiling step small, /proc/profile leaks data and readprofile shows silly stats, until readprofile -r has reset the buffer: clear the prof_buffer when it is vmalloc()ed. Signed-off-by: Hugh Dickins Cc: stable@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed