[for-next][PATCH 06/13] ring-buffer: Get timestamp after event is allocated

2015-07-21 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Move the capturing of the timestamp to after an event is allocated. If the event is not a commit (where it is an event that preempted another event), then no timestamp is needed, because the delta of nested events is always zero. If the event starts on a new

[for-next][PATCH 06/13] ring-buffer: Get timestamp after event is allocated

2015-07-21 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Move the capturing of the timestamp to after an event is allocated. If the event is not a commit (where it is an event that preempted another event), then no timestamp is needed, because the delta of nested events is always zero. If the event