Searched refs:tids (Results 1 – 6 of 6) sorted by relevance
/tools/testing/selftests/powerpc/math/ |
D | fpu_preempt.c | 59 pthread_t *tids; in test_preempt_fpu() local 62 tids = malloc((threads) * sizeof(pthread_t)); in test_preempt_fpu() 63 FAIL_IF(!tids); in test_preempt_fpu() 68 rc = pthread_create(&tids[i], NULL, preempt_fpu_c, NULL); in test_preempt_fpu() 91 pthread_join(tids[i], &rc_p); in test_preempt_fpu() 103 free(tids); in test_preempt_fpu()
|
D | fpu_signal.c | 79 pthread_t *tids; in test_signal_fpu() local 82 tids = malloc(threads * sizeof(pthread_t)); in test_signal_fpu() 83 FAIL_IF(!tids); in test_signal_fpu() 88 rc = pthread_create(&tids[i], NULL, signal_fpu_c, NULL); in test_signal_fpu() 101 pthread_kill(tids[j], SIGUSR1); in test_signal_fpu() 110 pthread_join(tids[i], &rc_p); in test_signal_fpu() 124 free(tids); in test_signal_fpu()
|
D | vmx_preempt.c | 60 pthread_t *tids; in test_preempt_vmx() local 66 tids = malloc(threads * sizeof(pthread_t)); in test_preempt_vmx() 67 FAIL_IF(!tids); in test_preempt_vmx() 72 rc = pthread_create(&tids[i], NULL, preempt_vmx_c, NULL); in test_preempt_vmx() 95 pthread_join(tids[i], &rc_p); in test_preempt_vmx()
|
D | vmx_signal.c | 97 pthread_t *tids; in test_signal_vmx() local 103 tids = malloc(threads * sizeof(pthread_t)); in test_signal_vmx() 104 FAIL_IF(!tids); in test_signal_vmx() 109 rc = pthread_create(&tids[i], NULL, signal_vmx_c, NULL); in test_signal_vmx() 125 pthread_kill(tids[j], SIGUSR1); in test_signal_vmx() 134 pthread_join(tids[i], &rc_p); in test_signal_vmx() 148 free(tids); in test_signal_vmx()
|
D | vsx_preempt.c | 93 pthread_t *tids; in test_preempt_vsx() local 98 tids = malloc(threads * sizeof(pthread_t)); in test_preempt_vsx() 99 FAIL_IF(!tids); in test_preempt_vsx() 104 rc = pthread_create(&tids[i], NULL, preempt_vsx_c, NULL); in test_preempt_vsx() 127 pthread_join(tids[i], &rc_p); in test_preempt_vsx()
|
/tools/perf/tests/ |
D | switch-tracking.c | 64 pid_t *tids; member 97 if (!switch_tracking->tids) { in check_cpu() 98 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu() 99 if (!switch_tracking->tids) in check_cpu() 102 switch_tracking->tids[i] = -1; in check_cpu() 110 addr = realloc(switch_tracking->tids, nr * sizeof(pid_t)); in check_cpu() 113 switch_tracking->tids = addr; in check_cpu() 115 switch_tracking->tids[i] = -1; in check_cpu() 151 if (switch_tracking->tids[cpu] != -1 && in process_sample_event() 152 switch_tracking->tids[cpu] != prev_tid) { in process_sample_event() [all …]
|