aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2010-05-14 22:44:10 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-14 22:45:06 -0400
commit16a2164bb03612efe79a76c73da6da44445b9287 (patch)
tree980cb743acfe0a295d3bc70c263abcd20fd6ba80 /samples
parentbfcc6e2eca507819e297a4c758ebd6b26e625330 (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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions