aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2016-04-26 08:06:58 +0200
committerMartin K. Petersen <[email protected]>2016-05-22 14:53:06 -0400
commiteb72d0bb84eee5d0dc3044fd17b75e7101dabb57 (patch)
tree746f6c67d19372ca2b336027a4e5b1f8d8be6e62 /tools/perf/scripts/python
parenta621bac3044ed6f7ec5fa0326491b2d4838bfa93 (diff)
sd: get disk reference in sd_check_events()
sd_check_events() is called asynchronously, and might race with device removal. So always take a disk reference when processing the event to avoid the device being removed while the event is processed. Signed-off-by: Hannes Reinecke <[email protected]> Reviewed-by: Ewan D. Milne <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions