diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-03-18 00:32:27 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-03-20 02:11:19 +0300 |
commit | 785888c544e0433f601df18ff98a3215b380b9c3 (patch) | |
tree | 08ddcf77546860419687fc6a5c4b381d5053cc0a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 28e3fc56a471bbac39d24571e11dde64b15de988 (diff) | |
download | linux-785888c544e0433f601df18ff98a3215b380b9c3.tar.xz |
ring-buffer: Have rb_iter_head_event() handle concurrent writer
Have the ring_buffer_iter structure have a place to store an event, such
that it can not be overwritten by a writer, and load it in such a way via
rb_iter_head_event() that it will return NULL and reset the iter to the
start of the current page if a writer updated the page.
Link: http://lkml.kernel.org/r/20200317213416.306959216@goodmis.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions