Steven Rostedt (Red Hat) bd1b7cd360 ring-buffer: Put back the length if crossed page with add_timestamp
Commit fcc742eaad7c "ring-buffer: Add event descriptor to simplify passing
data" added a descriptor that holds various data instead of passing around
several variables through parameters. The problem was that one of the
parameters was modified in a function and the code was designed not to have
an effect on that modified  parameter. Now that the parameter is a
descriptor and any modifications to it are non-volatile, the size of the
data could be unnecessarily expanded.

Remove the extra space added if a timestamp was added and the event went
across the page.

Cc: stable@vger.kernel.org # 4.3+
Fixes: fcc742eaad7c "ring-buffer: Add event descriptor to simplify passing data"
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2015-11-24 09:27:25 -05:00
..
2015-06-30 19:44:57 -07:00
2015-04-11 22:27:55 -04:00
2015-11-04 08:23:51 -05:00
2015-04-12 21:03:31 +02:00
2015-11-04 21:50:37 -08:00
2015-08-03 11:34:16 +02:00
2015-11-10 12:07:22 -08:00
2015-11-05 19:34:48 -08:00