summaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace_event.h
diff options
context:
space:
mode:
authorSonny Rao <sonnyrao@chromium.org>2011-07-14 13:34:43 +1000
committerSteven Rostedt <rostedt@goodmis.org>2011-07-14 15:53:01 -0400
commit259032bfe379281bf7cba512b7705bdb4ce41db5 (patch)
tree56c656f3ecb9779e70f6c9a3ad1db68a7a38a6ca /include/linux/ftrace_event.h
parent6331c28c962561aee59e5a493b7556a4bb585957 (diff)
downloadlinux-stable-259032bfe379281bf7cba512b7705bdb4ce41db5.tar.gz
linux-stable-259032bfe379281bf7cba512b7705bdb4ce41db5.tar.bz2
linux-stable-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 <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: Sonny Rao <sonnyrao@chromium.org> Signed-off-by: Michael Neuling <mikey@neuling.org> Link: http://lkml.kernel.org/r/10011.1310614483@neuling.org Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/ftrace_event.h')
0 files changed, 0 insertions, 0 deletions