mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 10:04:42 +00:00
dm: set correct thread name
When issue happen, we could identify which thread is impacted. This could help stability issue debugging. Tracked-On: #2037 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
@@ -1250,6 +1250,8 @@ usb_dev_sys_init(usb_dev_sys_cb conn_cb, usb_dev_sys_cb disconn_cb,
|
||||
native_disconn_handle);
|
||||
goto errout;
|
||||
}
|
||||
pthread_setname_np(g_ctx.thread, "usb_dev_sys");
|
||||
|
||||
return 0;
|
||||
|
||||
errout:
|
||||
|
||||
Reference in New Issue
Block a user