Lines Matching full:overwrite
334 if (!top->record_opts.overwrite && in perf_top__print_sym_table()
649 &top->session->header.env, !top->record_opts.overwrite); in display_thread_tui()
883 md = opts->overwrite ? &evlist->overwrite_mmap[idx] : &evlist->mmap[idx]; in perf_top__mmap_read_idx()
913 bool overwrite = top->record_opts.overwrite; in perf_top__mmap_read() local
917 if (overwrite) in perf_top__mmap_read()
923 if (overwrite) { in perf_top__mmap_read()
930 * Check per-event overwrite term.
936 * E.g. "cpu/cpu-cycles,no-overwrite/,cpu/instructions,no-overwrite/
937 * Using the per-event setting to replace the opts->overwrite if
940 * E.g. "cpu/cpu-cycles,overwrite/,cpu/instructions,no-overwrite/"
943 * E.g. "cpu/cpu-cycles/,cpu/instructions,no-overwrite/"
953 int set, overwrite = -1; in perf_top__overwrite_check() local
960 set = term->val.overwrite ? 1 : 0; in perf_top__overwrite_check()
964 if ((overwrite < 0) && (set < 0)) in perf_top__overwrite_check()
968 if ((overwrite >= 0) && (set >= 0) && (overwrite != set)) in perf_top__overwrite_check()
972 if ((overwrite >= 0) && (set < 0)) in perf_top__overwrite_check()
976 if ((overwrite < 0) && (set >= 0)) { in perf_top__overwrite_check()
977 /* if it's first event, set overwrite */ in perf_top__overwrite_check()
979 overwrite = set; in perf_top__overwrite_check()
985 if ((overwrite >= 0) && (opts->overwrite != overwrite)) in perf_top__overwrite_check()
986 opts->overwrite = overwrite; in perf_top__overwrite_check()
998 if (!opts->overwrite) in perf_top_overwrite_fallback()
1007 opts->overwrite = false; in perf_top_overwrite_fallback()
1008 pr_debug2("fall back to non-overwrite mode\n"); in perf_top_overwrite_fallback()
1021 "overwrite setting for all events\n"); in perf_top__start_counters()
1033 * Specially handle overwrite fall back. in perf_top__start_counters()
1035 * overwrite mode by default, support in perf_top__start_counters()
1036 * both overwrite and non-overwrite mode, and in perf_top__start_counters()
1359 if (opts->overwrite || (hits == top->samples)) in __cmd_top()
1450 * separate evlist with a dummy event, i.e. a non-overwrite in cmd_top()
1452 * stays in overwrite mode. -acme in cmd_top()
1454 .overwrite = 0, in cmd_top()
1587 OPT_BOOLEAN(0, "overwrite", &top.record_opts.overwrite, in cmd_top()