Searched refs:tids (Results 1 – 6 of 6) sorted by relevance
/tools/testing/selftests/powerpc/math/ |
D | fpu_preempt.c | 62 pthread_t *tids; in test_preempt_fpu() local 65 tids = malloc((threads) * sizeof(pthread_t)); in test_preempt_fpu() 66 FAIL_IF(!tids); in test_preempt_fpu() 71 rc = pthread_create(&tids[i], NULL, preempt_fpu_c, NULL); in test_preempt_fpu() 94 pthread_join(tids[i], &rc_p); in test_preempt_fpu() 106 free(tids); in test_preempt_fpu()
|
D | fpu_signal.c | 83 pthread_t *tids; in test_signal_fpu() local 86 tids = malloc(threads * sizeof(pthread_t)); in test_signal_fpu() 87 FAIL_IF(!tids); in test_signal_fpu() 92 rc = pthread_create(&tids[i], NULL, signal_fpu_c, NULL); in test_signal_fpu() 105 pthread_kill(tids[j], SIGUSR1); in test_signal_fpu() 114 pthread_join(tids[i], &rc_p); in test_signal_fpu() 128 free(tids); in test_signal_fpu()
|
D | vmx_preempt.c | 62 pthread_t *tids; in test_preempt_vmx() local 65 tids = malloc(threads * sizeof(pthread_t)); in test_preempt_vmx() 66 FAIL_IF(!tids); in test_preempt_vmx() 71 rc = pthread_create(&tids[i], NULL, preempt_vmx_c, NULL); in test_preempt_vmx() 94 pthread_join(tids[i], &rc_p); in test_preempt_vmx()
|
D | vmx_signal.c | 101 pthread_t *tids; in test_signal_vmx() local 104 tids = malloc(threads * sizeof(pthread_t)); in test_signal_vmx() 105 FAIL_IF(!tids); in test_signal_vmx() 110 rc = pthread_create(&tids[i], NULL, signal_vmx_c, NULL); in test_signal_vmx() 126 pthread_kill(tids[j], SIGUSR1); in test_signal_vmx() 135 pthread_join(tids[i], &rc_p); in test_signal_vmx() 149 free(tids); in test_signal_vmx()
|
D | vsx_preempt.c | 97 pthread_t *tids; in test_preempt_vsx() local 100 tids = malloc(threads * sizeof(pthread_t)); in test_preempt_vsx() 101 FAIL_IF(!tids); in test_preempt_vsx() 106 rc = pthread_create(&tids[i], NULL, preempt_vsx_c, NULL); in test_preempt_vsx() 129 pthread_join(tids[i], &rc_p); in test_preempt_vsx()
|
/tools/perf/tests/ |
D | switch-tracking.c | 54 pid_t *tids; member 87 if (!switch_tracking->tids) { in check_cpu() 88 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu() 89 if (!switch_tracking->tids) in check_cpu() 92 switch_tracking->tids[i] = -1; in check_cpu() 100 addr = realloc(switch_tracking->tids, nr * sizeof(pid_t)); in check_cpu() 103 switch_tracking->tids = addr; in check_cpu() 105 switch_tracking->tids[i] = -1; in check_cpu() 141 if (switch_tracking->tids[cpu] != -1 && in process_sample_event() 142 switch_tracking->tids[cpu] != prev_tid) { in process_sample_event() [all …]
|