commit | 16a2164bb03612efe79a76c73da6da44445b9287 | [log] [tgz] |
---|---|---|
author | Hugh Dickins <hughd@google.com> | Fri May 14 19:44:10 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri May 14 19:45:06 2010 -0700 |
tree | 980cb743acfe0a295d3bc70c263abcd20fd6ba80 | |
parent | bfcc6e2eca507819e297a4c758ebd6b26e625330 [diff] |
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 <hughd@google.com> Cc: stable@kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>