Lines Matching full:erase
43 static struct latency_entry *read_global_stats(struct latency_entry *list, int erase);
44 static struct latency_entry *read_process_stats(struct latency_entry *list, int erase, int pid);
45 static struct latency_entry *read_thread_stats(struct latency_entry *list, int erase, int pid, int tid, int fatal);
72 int count, erase;
138 erase = 1;
147 e = read_thread_stats(e, erase, pid, tid, 1);
149 e = read_process_stats(e, erase, pid);
152 e = read_global_stats(e, erase);
154 erase = 0;
174 static struct latency_entry *read_global_stats(struct latency_entry *list, int erase) {
178 if (erase) {
184 fprintf(f, "erase\n");
201 static struct latency_entry *read_process_stats(struct latency_entry *list, int erase, int pid) {
223 e = read_thread_stats(e, erase, pid, tid, 0);
231 static struct latency_entry *read_thread_stats(struct latency_entry *list, int erase, int pid, int tid, int fatal) {
238 if (erase) {
249 fprintf(f, "erase\n");
322 fprintf(f, "erase\n");