aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJeff Moyer <[email protected]>2014-09-02 13:17:00 -0400
committerBenjamin LaHaise <[email protected]>2014-09-02 15:20:03 -0400
commit2ff396be602f10b5eab8e73b24f20348fa2de159 (patch)
treebdc814b8e0a170f1c852553230b32d888cf7fa5a /tools/perf/util/scripting-engines/trace-event-python.c
parent7be141d0554921751db103b54e9f794956aa4f65 (diff)
aio: add missing smp_rmb() in read_events_ring
We ran into a case on ppc64 running mariadb where io_getevents would return zeroed out I/O events. After adding instrumentation, it became clear that there was some missing synchronization between reading the tail pointer and the events themselves. This small patch fixes the problem in testing. Thanks to Zach for helping to look into this, and suggesting the fix. Signed-off-by: Jeff Moyer <[email protected]> Signed-off-by: Benjamin LaHaise <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions