Lines Matching refs:printf

78 		printf("[WARN]\tfailed to find vDSO\n");  in init_vdso()
84 printf("[WARN]\tfailed to find gettimeofday in vDSO\n"); in init_vdso()
88 printf("[WARN]\tfailed to find clock_gettime in vDSO\n"); in init_vdso()
92 printf("[WARN]\tfailed to find time in vDSO\n"); in init_vdso()
97 printf("[%s]\tfailed to find getcpu in vDSO\n", in init_vdso()
112 printf("[WARN]\tCould not open /proc/self/maps -- assuming vsyscall is r-x\n"); in init_vsys()
130 printf("\tvsyscall map: %s", line); in init_vsys()
134 printf("[FAIL]\taddress range is nonsense\n"); in init_vsys()
138 printf("\tvsyscall permissions are %c-%c\n", r, x); in init_vsys()
149 printf("\tno vsyscall map in /proc/self/maps\n"); in init_vsys()
210 printf("[FAIL] %s tz mismatch\n", which); in check_gtod()
216 printf("\t%s time offsets: %lf %lf\n", which, d1, d2); in check_gtod()
219 printf("[FAIL]\t%s time was inconsistent with the syscall\n", which); in check_gtod()
222 printf("[OK]\t%s gettimeofday()'s timeval was okay\n", which); in check_gtod()
236 printf("[RUN]\ttest gettimeofday()\n"); in test_gtod()
251 printf("[FAIL]\tvDSO gettimeofday() failed: %ld\n", ret_vdso); in test_gtod()
260 printf("[FAIL]\tvsys gettimeofday() failed: %ld\n", ret_vsys); in test_gtod()
271 printf("[RUN]\ttest time()\n"); in test_time()
281printf("[FAIL]\tsyscall failed (ret1:%ld output1:%ld ret2:%ld output2:%ld)\n", t_sys1, t2_sys1, t_… in test_time()
288 printf("[FAIL]\tvDSO failed (ret:%ld output:%ld)\n", t_vdso, t2_vdso); in test_time()
291 printf("[FAIL]\tvDSO returned the wrong time (%ld %ld %ld)\n", t_sys1, t_vdso, t_sys2); in test_time()
294 printf("[OK]\tvDSO time() is okay\n"); in test_time()
300 printf("[FAIL]\tvsyscall failed (ret:%ld output:%ld)\n", t_vsys, t2_vsys); in test_time()
303 printf("[FAIL]\tvsyscall returned the wrong time (%ld %ld %ld)\n", t_sys1, t_vsys, t_sys2); in test_time()
306 printf("[OK]\tvsyscall time() is okay\n"); in test_time()
318 printf("[RUN]\tgetcpu() on CPU %d\n", cpu); in test_getcpu()
324 printf("[SKIP]\tfailed to force CPU %d\n", cpu); in test_getcpu()
339 printf("[FAIL]\tsyscall reported CPU %hu but should be %d\n", cpu_sys, cpu); in test_getcpu()
349 printf("[FAIL]\tvDSO getcpu() failed\n"); in test_getcpu()
358 printf("[FAIL]\tvDSO reported CPU %hu but should be %d\n", cpu_vdso, cpu); in test_getcpu()
361 printf("[OK]\tvDSO reported correct CPU\n"); in test_getcpu()
365 printf("[FAIL]\tvDSO reported node %hu but should be %hu\n", node_vdso, node); in test_getcpu()
368 printf("[OK]\tvDSO reported correct node\n"); in test_getcpu()
375 printf("[FAIL]\tvsyscall getcpu() failed\n"); in test_getcpu()
384 printf("[FAIL]\tvsyscall reported CPU %hu but should be %d\n", cpu_vsys, cpu); in test_getcpu()
387 printf("[OK]\tvsyscall reported correct CPU\n"); in test_getcpu()
391 printf("[FAIL]\tvsyscall reported node %hu but should be %hu\n", node_vsys, node); in test_getcpu()
394 printf("[OK]\tvsyscall reported correct node\n"); in test_getcpu()
405 printf("[RUN]\tChecking read access to the vsyscall page\n"); in test_vsys_r()
415 printf("[FAIL]\tWe have read access, but we shouldn't\n"); in test_vsys_r()
418 printf("[FAIL]\tWe don't have read access, but we should\n"); in test_vsys_r()
421 printf("[OK]\tWe have read access\n"); in test_vsys_r()
423 printf("[OK]\tWe do not have read access: #PF(0x%lx)\n", in test_vsys_r()
439 printf("[RUN]\tMake sure that vsyscalls really page fault\n"); in test_vsys_x()
450 printf("[FAIL]\tExecuting the vsyscall did not page fault\n"); in test_vsys_x()
453 printf("[OK]\tExecuting the vsyscall page failed: #PF(0x%lx)\n", in test_vsys_x()
456 printf("[FAIL]\tExecution failed with the wrong error: #PF(0x%lx)\n", in test_vsys_x()
483 printf("[RUN]\tprocess_vm_readv() from vsyscall page\n"); in test_process_vm_readv()
495printf("[%s]\tprocess_vm_readv() failed (ret = %d, errno = %d)\n", vsyscall_map_r ? "FAIL" : "OK",… in test_process_vm_readv()
501 printf("[OK]\tIt worked and read correct data\n"); in test_process_vm_readv()
503 printf("[FAIL]\tIt worked but returned incorrect data\n"); in test_process_vm_readv()
507 printf("[FAIL]\tprocess_rm_readv() succeeded, but it should have failed in this configuration\n"); in test_process_vm_readv()
535 printf("[RUN]\tchecking that vsyscalls are emulated\n"); in test_emulation()
551 printf("[%s]\tvsyscalls are %s (%d instructions in vsyscall page)\n", in test_emulation()