Microprofile integration.
This commit is contained in:
@@ -231,6 +231,10 @@ X_STATUS XThread::Create() {
|
||||
return return_code;
|
||||
}
|
||||
|
||||
char thread_name[32];
|
||||
xesnprintfa(thread_name, XECOUNT(thread_name), "XThread%04X", handle());
|
||||
set_name(thread_name);
|
||||
|
||||
module->Release();
|
||||
return X_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -633,9 +633,10 @@ spin:
|
||||
cs->recursion_count = 1;
|
||||
}
|
||||
|
||||
|
||||
SHIM_CALL RtlEnterCriticalSection_shim(
|
||||
PPCContext* ppc_state, KernelState* state) {
|
||||
SCOPE_profile_cpu_f("kernel");
|
||||
|
||||
uint32_t cs_ptr = SHIM_GET_ARG_32(0);
|
||||
|
||||
XELOGD("RtlEnterCriticalSection(%.8X)", cs_ptr);
|
||||
|
||||
Reference in New Issue
Block a user