diff options
author | Chris Wilson <[email protected]> | 2015-11-25 14:39:03 +0000 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2015-11-26 15:21:27 +0100 |
commit | 9b2c0b7fb4ce79566d830d03ce7aa11cccc39f97 (patch) | |
tree | 9d5e5e095ceb0b817f7666412a9772caacb46d57 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 83eb64c85b80959549c114365016276f318afeb2 (diff) |
drm: Serialise multiple event readers
The previous patch reintroduced a race condition whereby a failure in
one reader may allow a second reader to see out-of-order events.
Introduce a mutex to serialise readers so that an event is completed in
its entirety before another reader may process an event. The two readers
may race against each other, but the events each retrieves are in the
correct order.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Thomas Hellstrom <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Thomas Hellstrom <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions