Lines Matching defs:opts
881 struct record_opts *opts = &top->record_opts;
886 md = opts->overwrite ? &evlist->overwrite_mmap[idx] : &evlist->mmap[idx];
940 * Using the per-event setting to replace the opts->overwrite if
951 struct record_opts *opts = &top->record_opts;
988 if ((overwrite >= 0) && (opts->overwrite != overwrite))
989 opts->overwrite = overwrite;
997 struct record_opts *opts = &top->record_opts;
1001 if (!opts->overwrite)
1010 opts->overwrite = false;
1020 struct record_opts *opts = &top->record_opts;
1028 perf_evlist__config(evlist, opts, &callchain_param);
1055 evsel__open_strerror(counter, &opts->target, errno, msg, sizeof(msg));
1061 if (evlist__mmap(evlist, opts->mmap_pages) < 0) {
1234 struct record_opts *opts = &top->record_opts;
1257 if (opts->record_namespaces)
1259 if (opts->record_cgroup) {
1279 machine__synthesize_threads(&top->session->machines.host, &opts->target,
1312 if (!target__none(&opts->target))
1347 if (opts->overwrite || (hits == top->samples))
1448 struct record_opts *opts = &top.record_opts;
1449 struct target *target = &opts->target;
1454 OPT_U64('c', "count", &opts->user_interval, "event period to sample"),
1471 OPT_CALLBACK('m', "mmap-pages", &opts->mmap_pages, "pages",
1482 OPT_BOOLEAN(0, "group", &opts->group,
1484 OPT_BOOLEAN('i', "no-inherit", &opts->no_inherit,
1554 OPT_CALLBACK_NOOPT('b', "branch-any", &opts->branch_stack,
1557 OPT_CALLBACK('j', "branch-filter", &opts->branch_stack,
1569 OPT_BOOLEAN(0, "namespaces", &opts->record_namespaces,
1571 OPT_BOOLEAN(0, "all-cgroups", &opts->record_cgroup,
1657 if (opts->branch_stack && callchain_param.enabled)
1709 if (record_opts__config(opts)) {
1768 opts->no_bpf_event = true;
1773 if (!opts->no_bpf_event)