Lines Matching refs:printf
76 printf("[WARN]\tfailed to find vDSO\n"); in init_vdso()
82 printf("[WARN]\tfailed to find gettimeofday in vDSO\n"); in init_vdso()
86 printf("[WARN]\tfailed to find clock_gettime in vDSO\n"); in init_vdso()
90 printf("[WARN]\tfailed to find time in vDSO\n"); in init_vdso()
95 printf("[%s]\tfailed to find getcpu in vDSO\n", in init_vdso()
110 printf("[WARN]\tCould not open /proc/self/maps -- assuming vsyscall is r-x\n"); in init_vsys()
128 printf("\tvsyscall map: %s", line); in init_vsys()
132 printf("[FAIL]\taddress range is nonsense\n"); in init_vsys()
136 printf("\tvsyscall permissions are %c-%c\n", r, x); in init_vsys()
147 printf("\tno vsyscall map in /proc/self/maps\n"); in init_vsys()
208 printf("[FAIL] %s tz mismatch\n", which); in check_gtod()
214 printf("\t%s time offsets: %lf %lf\n", which, d1, d2); in check_gtod()
217 printf("[FAIL]\t%s time was inconsistent with the syscall\n", which); in check_gtod()
220 printf("[OK]\t%s gettimeofday()'s timeval was okay\n", which); in check_gtod()
234 printf("[RUN]\ttest gettimeofday()\n"); in test_gtod()
249 printf("[FAIL]\tvDSO gettimeofday() failed: %ld\n", ret_vdso); in test_gtod()
258 printf("[FAIL]\tvsys gettimeofday() failed: %ld\n", ret_vsys); in test_gtod()
269 printf("[RUN]\ttest time()\n"); in test_time()
279 …printf("[FAIL]\tsyscall failed (ret1:%ld output1:%ld ret2:%ld output2:%ld)\n", t_sys1, t2_sys1, t_… in test_time()
286 printf("[FAIL]\tvDSO failed (ret:%ld output:%ld)\n", t_vdso, t2_vdso); in test_time()
289 printf("[FAIL]\tvDSO returned the wrong time (%ld %ld %ld)\n", t_sys1, t_vdso, t_sys2); in test_time()
292 printf("[OK]\tvDSO time() is okay\n"); in test_time()
298 printf("[FAIL]\tvsyscall failed (ret:%ld output:%ld)\n", t_vsys, t2_vsys); in test_time()
301 printf("[FAIL]\tvsyscall returned the wrong time (%ld %ld %ld)\n", t_sys1, t_vsys, t_sys2); in test_time()
304 printf("[OK]\tvsyscall time() is okay\n"); in test_time()
316 printf("[RUN]\tgetcpu() on CPU %d\n", cpu); in test_getcpu()
322 printf("[SKIP]\tfailed to force CPU %d\n", cpu); in test_getcpu()
337 printf("[FAIL]\tsyscall reported CPU %hu but should be %d\n", cpu_sys, cpu); in test_getcpu()
347 printf("[FAIL]\tvDSO getcpu() failed\n"); in test_getcpu()
356 printf("[FAIL]\tvDSO reported CPU %hu but should be %d\n", cpu_vdso, cpu); in test_getcpu()
359 printf("[OK]\tvDSO reported correct CPU\n"); in test_getcpu()
363 printf("[FAIL]\tvDSO reported node %hu but should be %hu\n", node_vdso, node); in test_getcpu()
366 printf("[OK]\tvDSO reported correct node\n"); in test_getcpu()
373 printf("[FAIL]\tvsyscall getcpu() failed\n"); in test_getcpu()
382 printf("[FAIL]\tvsyscall reported CPU %hu but should be %d\n", cpu_vsys, cpu); in test_getcpu()
385 printf("[OK]\tvsyscall reported correct CPU\n"); in test_getcpu()
389 printf("[FAIL]\tvsyscall reported node %hu but should be %hu\n", node_vsys, node); in test_getcpu()
392 printf("[OK]\tvsyscall reported correct node\n"); in test_getcpu()
403 printf("[RUN]\tChecking read access to the vsyscall page\n"); in test_vsys_r()
413 printf("[FAIL]\tWe have read access, but we shouldn't\n"); in test_vsys_r()
416 printf("[FAIL]\tWe don't have read access, but we should\n"); in test_vsys_r()
419 printf("[OK]\tWe have read access\n"); in test_vsys_r()
421 printf("[OK]\tWe do not have read access: #PF(0x%lx)\n", in test_vsys_r()
437 printf("[RUN]\tMake sure that vsyscalls really page fault\n"); in test_vsys_x()
448 printf("[FAIL]\tExecuting the vsyscall did not page fault\n"); in test_vsys_x()
451 printf("[OK]\tExecuting the vsyscall page failed: #PF(0x%lx)\n", in test_vsys_x()
454 printf("[FAIL]\tExecution failed with the wrong error: #PF(0x%lx)\n", in test_vsys_x()
470 printf("[RUN]\tprocess_vm_readv() from vsyscall page\n"); in test_process_vm_readv()
478 printf("[OK]\tprocess_vm_readv() failed (ret = %d, errno = %d)\n", ret, errno); in test_process_vm_readv()
484 printf("[OK]\tIt worked and read correct data\n"); in test_process_vm_readv()
486 printf("[FAIL]\tIt worked but returned incorrect data\n"); in test_process_vm_readv()
528 printf("[RUN]\tchecking that vsyscalls are emulated\n"); in test_emulation()
544 printf("[%s]\tvsyscalls are %s (%d instructions in vsyscall page)\n", in test_emulation()