aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMark-PK Tsai <[email protected]>2022-03-16 15:43:28 +0800
committerGreg Kroah-Hartman <[email protected]>2022-04-27 09:51:56 +0200
commit84e7c6786aad1dffa04f5729270f8fcd7281fe4b (patch)
treef1d8f56662b1328672eb3939b0124e4d970949c1 /tools/perf/scripts/python/stackcollapse.py
parent4c32174a24759d5ac6dc42b508fcec2afb8b9602 (diff)
driver core: Prevent overriding async driver of a device before it probe
When there are 2 matched drivers for a device using async probe mechanism, the dev->p->async_driver might be overridden by the last attached driver. So just skip the later one if the previous matched driver was not handled by async thread yet. Below is my use case which having this problem. Make both driver mmcblk and mmc_test allow async probe, the dev->p->async_driver will be overridden by the later driver mmc_test and bind to the device then claim it for testing. When it happen, mmcblk will never do probe again. Signed-off-by: Mark-PK Tsai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions