diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-10-08 16:50:30 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-10-20 21:17:56 +0200 |
commit | 140ff89127c74b1b1c1b0152a36ea3720ccf6bc3 (patch) | |
tree | 4948fdc850ca13b530f5b4f3c4649b2c510e1a30 /drivers/char | |
parent | ring-buffer: Bind time extend and data events together (diff) | |
download | linux-140ff89127c74b1b1c1b0152a36ea3720ccf6bc3.tar.xz linux-140ff89127c74b1b1c1b0152a36ea3720ccf6bc3.zip |
ring-buffer: Remove condition to add timestamp in fast path
There's a condition to check if we should add a time extend or
not in the fast path. But this condition is racey (in the sense
that we can add a unnecessary time extend, but nothing that
can break anything). We later check if the time or event time
delta should be zero or have real data in it (not racey), making
this first check redundant.
This check may help save space once in a while, but really is
not worth the hassle to try to save some space that happens at
most 134 ms at a time.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions