aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorSonny Rao <[email protected]>2011-07-14 03:34:43 +0000
committerSteven Rostedt <[email protected]>2011-07-14 19:53:01 +0000
commit259032bfe379281bf7cba512b7705bdb4ce41db5 (patch)
tree56c656f3ecb9779e70f6c9a3ad1db68a7a38a6ca /fs/ubifs/commit.c
parentftrace: Fix dynamic selftest failure on some archs (diff)
downloadkernel-259032bfe379281bf7cba512b7705bdb4ce41db5.tar.gz
kernel-259032bfe379281bf7cba512b7705bdb4ce41db5.zip
perf: Robustify proc and debugfs file recording
While attempting to create a timechart of boot up I found perf didn't tolerate modules being loaded/unloaded. This patch fixes this by reading the file once and then writing the size read at the correct point in the file. It also simplifies the code somewhat. Cc: Peter Zijlstra <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: Sonny Rao <[email protected]> Signed-off-by: Michael Neuling <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions