summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_events.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-05-07 11:13:42 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-05-07 11:16:18 -0400
commit29c8000ee7da3a6756d26143991e573eaaf2a9f6 (patch)
tree4c57a374639127ebccd6f4fca0feb02cde21e702 /kernel/trace/trace_events.c
parent0ad5d703c6c0fcd385d956555460df95dff7eb7e (diff)
ring-buffer: remove complex calculations in ring-buffer-test
Ingo Molnar thought that the code to calculate the time in cond_resched is a bit too ugly and is not needed. This patch removes it and replaces it with a simple call to cond_resched. I kept the comment that explains the reason for the cond_resched. [ Impact: remove ugly code ] Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_events.c')
0 files changed, 0 insertions, 0 deletions