Lines Matching refs:fprintf
81 fprintf(stderr, "Option -d expects an argument.\n"); in main()
89 fprintf(stderr, "Option -n expects an argument.\n"); in main()
101 fprintf(stderr, "Option -p expects an argument.\n"); in main()
109 fprintf(stderr, "Option -t expects an argument.\n"); in main()
115 fprintf(stderr, "Invalid argument \"%s\".\n", argv[i]); in main()
121 … fprintf(stderr, "If you provide a thread ID with -t, you must provide a process ID with -p.\n"); in main()
180 fprintf(stderr, "Could not open global latency stats file: %s\n", strerror(errno)); in read_global_stats()
183 fprintf(f, "erase\n"); in read_global_stats()
189 fprintf(stderr, "Could not open global latency stats file: %s\n", strerror(errno)); in read_global_stats()
210 fprintf(stderr, "Could not open task dir for process %d.\n", pid); in read_process_stats()
211 fprintf(stderr, "Perhaps the process has terminated?\n"); in read_process_stats()
241 fprintf(stderr, "Could not open %s: %s\n", filename, strerror(errno)); in read_thread_stats()
242 fprintf(stderr, "Perhaps the process or thread has terminated?\n"); in read_thread_stats()
248 fprintf(f, "erase\n"); in read_thread_stats()
255 fprintf(stderr, "Could not open %s: %s\n", filename, strerror(errno)); in read_thread_stats()
256 fprintf(stderr, "Perhaps the process or thread has terminated?\n"); in read_thread_stats()
279 fprintf(stderr, "Could not allocate latency entry: %s\n", strerror(errno)); in alloc_latency_entry()
306 fprintf(stderr, "Could not open %s: %s\n", SYSCTL_FILE, strerror(errno)); in set_latencytop()
310 fprintf(f, "%d\n", on); in set_latencytop()
324 fprintf(stderr, "Could not read latency file version: %s\n", strerror(errno)); in read_latency_file()
329 fprintf(stderr, "Expected version: %s\n", EXPECTED_VERSION); in read_latency_file()
330 fprintf(stderr, "But got version: %s", line); in read_latency_file()
373 fprintf(stderr, "Error allocating array: %s\n", strerror(errno)); in print_latency_entries()
410 fprintf(stderr, "Usage: %s [ -d delay ] [ -n iterations ] [ -p pid [ -t tid ] ] [ -h ]\n" in usage()