Lines Matching refs:erase
44 static struct latency_entry* read_global_stats(struct latency_entry* list, int erase);
45 static struct latency_entry* read_process_stats(struct latency_entry* list, int erase, int pid);
46 static struct latency_entry* read_thread_stats(struct latency_entry* list, int erase, int pid,
72 int count, erase; in main() local
139 erase = 1; in main()
147 e = read_thread_stats(e, erase, pid, tid, 1); in main()
149 e = read_process_stats(e, erase, pid); in main()
152 e = read_global_stats(e, erase); in main()
154 erase = 0; in main()
174 static struct latency_entry* read_global_stats(struct latency_entry* list, int erase) { in read_global_stats() argument
178 if (erase) { in read_global_stats()
201 static struct latency_entry* read_process_stats(struct latency_entry* list, int erase, int pid) { in read_process_stats() argument
222 e = read_thread_stats(e, erase, pid, tid, 0); in read_process_stats()
230 static struct latency_entry* read_thread_stats(struct latency_entry* list, int erase, int pid, in read_thread_stats() argument
238 if (erase) { in read_thread_stats()