aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorSonny Rao <[email protected]>2011-07-14 13:34:43 +1000
committerSteven Rostedt <[email protected]>2011-07-14 15:53:01 -0400
commit259032bfe379281bf7cba512b7705bdb4ce41db5 (patch)
tree56c656f3ecb9779e70f6c9a3ad1db68a7a38a6ca /lib/mpi/mpiutil.c
parent6331c28c962561aee59e5a493b7556a4bb585957 (diff)
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions