uti: Identify uti thread by clone count
--uti-thread-count <count> is added to mcexec. Change-Id: Id9ec464412a5bb71e4d9e87d05f79de22d35b067
This commit is contained in:
@@ -3455,6 +3455,8 @@ void runq_add_thread(struct thread *thread, int cpu_id)
|
||||
|
||||
procfs_create_thread(thread);
|
||||
|
||||
__sync_add_and_fetch(&thread->proc->clone_count, 1);
|
||||
dkprintf("%s: clone_count is %d\n", __FUNCTION__, thread->proc->clone_count);
|
||||
rusage_num_threads_inc();
|
||||
#ifdef RUSAGE_DEBUG
|
||||
if (rusage->num_threads == 1) {
|
||||
|
||||
Reference in New Issue
Block a user