diff options
| author | Bart Van Assche <[email protected]> | 2019-12-24 14:02:46 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-01-02 21:57:44 -0500 |
| commit | eacf36f5bebde5089dddb3d5bfcbeab530b01f8a (patch) | |
| tree | 92f1ea40cc149f87bafe7906330140ad44aaa709 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1b21b8f008c156686079c4c2b207c4a28a0a769d (diff) | |
scsi: ufs: Fix a race condition in the tracing code
Starting execution of a command before tracing a command may cause the
completion handler to free data while it is being traced. Fix this race by
tracing a command before it is submitted.
Cc: Bean Huo <[email protected]>
Cc: Can Guo <[email protected]>
Cc: Avri Altman <[email protected]>
Cc: Stanley Chu <[email protected]>
Cc: Tomas Winkler <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Alim Akhtar <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions