Home
last modified time | relevance | path

Searched refs:unset (Results 1 – 25 of 45) sorted by relevance

12

/tools/perf/util/
Dparse-regs-options.c13 __parse_regs(const struct option *opt, const char *str, int unset, bool intr) in __parse_regs() argument
21 if (unset) in __parse_regs()
90 parse_user_regs(const struct option *opt, const char *str, int unset) in parse_user_regs() argument
92 return __parse_regs(opt, str, unset, false); in parse_user_regs()
96 parse_intr_regs(const struct option *opt, const char *str, int unset) in parse_intr_regs() argument
98 return __parse_regs(opt, str, unset, true); in parse_intr_regs()
Dparse-regs-options.h5 int parse_user_regs(const struct option *opt, const char *str, int unset);
6 int parse_intr_regs(const struct option *opt, const char *str, int unset);
Dpfm.h14 int unset);
24 int unset __maybe_unused) in parse_libpfm_events_option()
Dparse-branch-options.c94 parse_branch_stack(const struct option *opt, const char *str, int unset) in parse_branch_stack() argument
98 if (unset) in parse_branch_stack()
Dparse-branch-options.h5 int parse_branch_stack(const struct option *opt, const char *str, int unset);
Dclockid.h7 int parse_clockid(const struct option *opt, const char *str, int unset);
Dclockid.c68 int parse_clockid(const struct option *opt, const char *str, int unset) in parse_clockid() argument
74 if (unset) { in parse_clockid()
Dparse-events.h34 int parse_events_option(const struct option *opt, const char *str, int unset);
35 int parse_events_option_new_evlist(const struct option *opt, const char *str, int unset);
46 int parse_filter(const struct option *opt, const char *str, int unset);
47 int exclude_perf(const struct option *opt, const char *arg, int unset);
Dcgroup.h33 int parse_cgroups(const struct option *opt, const char *str, int unset);
Dcallchain.h240 int record_parse_callchain_opt(const struct option *opt, const char *arg, int unset);
241 int record_callchain_opt(const struct option *opt, const char *arg, int unset);
247 const char *arg, bool unset);
Drecord.h82 int record__parse_freq(const struct option *opt, const char *str, int unset);
Dpfm.c32 int unset __maybe_unused) in parse_libpfm_events_option()
Drecord.c267 int record__parse_freq(const struct option *opt, const char *str, int unset __maybe_unused) in record__parse_freq()
Dsort.h298 int report_parse_ignore_callees_opt(const struct option *opt, const char *arg, int unset);
/tools/lib/subcmd/
Dparse-options.c73 const int unset = flags & OPT_UNSET; in get_value() local
76 if (unset && p->opt) in get_value()
78 if (unset && (opt->flags & PARSE_OPT_NONEG)) in get_value()
147 if (unset) in get_value()
187 if (unset) in get_value()
194 *(bool *)opt->value = unset ? false : true; in get_value()
200 *(int *)opt->value = unset ? 0 : *(int *)opt->value + 1; in get_value()
204 *(unsigned int *)opt->value = unset ? 0 : opt->defval; in get_value()
208 *(void **)opt->value = unset ? NULL : (void *)opt->defval; in get_value()
213 if (unset) in get_value()
[all …]
/tools/perf/
Dbuiltin-probe.c168 int unset __maybe_unused) in opt_set_target()
203 const char *str, int unset __maybe_unused) in opt_set_target_ns()
234 const char *str, int unset __maybe_unused) in opt_show_lines()
254 const char *str, int unset __maybe_unused) in opt_show_vars()
276 const char *str, int unset __maybe_unused) in opt_add_probe_event()
287 const char *str, int unset) in opt_set_filter_with_command() argument
289 if (!unset) in opt_set_filter_with_command()
299 const char *str, int unset __maybe_unused) in opt_set_filter()
Dbuiltin-ftrace.c726 const char *str, int unset) in opt_list_avail_functions() argument
732 if (unset || !str) in opt_list_avail_functions()
758 int unset __maybe_unused) in parse_filter_func()
784 const char *str, int unset) in parse_buffer_size() argument
796 if (unset) { in parse_buffer_size()
815 const char *str, int unset) in parse_func_tracer_opts() argument
825 if (unset) in parse_func_tracer_opts()
836 const char *str, int unset) in parse_graph_tracer_opts() argument
849 if (unset) in parse_graph_tracer_opts()
Dbuiltin-record.c405 int unset) in record__aio_parse() argument
409 if (unset) { in record__aio_parse()
451 int unset) in record__mmap_flush_parse() argument
463 if (unset) in record__mmap_flush_parse()
486 static int record__parse_comp_level(const struct option *opt, const char *str, int unset) in record__parse_comp_level() argument
490 if (unset) { in record__parse_comp_level()
2086 const char *arg, bool unset) in record_opts__parse_callchain() argument
2089 callchain->enabled = !unset; in record_opts__parse_callchain()
2092 if (unset) { in record_opts__parse_callchain()
2111 int unset) in record_parse_callchain_opt() argument
[all …]
Dbuiltin-mem.c38 const char *str, int unset __maybe_unused) in parse_record_events()
326 parse_mem_ops(const struct option *opt, const char *str, int unset) in parse_mem_ops() argument
333 if (unset) in parse_mem_ops()
Dbuiltin-report.c1004 report_parse_callchain_opt(const struct option *opt, const char *arg, int unset) in report_parse_callchain_opt() argument
1008 callchain->enabled = !unset; in report_parse_callchain_opt()
1012 if (unset) { in report_parse_callchain_opt()
1023 int unset __maybe_unused) in parse_time_quantum()
1059 const char *arg, int unset __maybe_unused) in report_parse_ignore_callees_opt()
1077 const char *str __maybe_unused, int unset) in parse_branch_mode() argument
1081 *branch_mode = !unset; in parse_branch_mode()
1087 int unset __maybe_unused) in parse_percent_limit()
Dbuiltin-stat.c1029 const char *s __maybe_unused, int unset) in stat__set_big_num() argument
1031 big_num_opt = unset ? 0 : 1; in stat__set_big_num()
1032 perf_stat__set_big_num(!unset); in stat__set_big_num()
1037 const char *s __maybe_unused, int unset) in enable_metric_only() argument
1040 stat_config.metric_only = !unset; in enable_metric_only()
1046 int unset __maybe_unused) in parse_metric_groups()
1056 int unset __maybe_unused) in parse_control_option()
1064 const char *str, int unset) in parse_stat_cgroups() argument
1071 return parse_cgroups(opt, str, unset); in parse_stat_cgroups()
Dbuiltin-top.c1366 callchain_opt(const struct option *opt, const char *arg, int unset) in callchain_opt() argument
1369 return record_callchain_opt(opt, arg, unset); in callchain_opt()
1373 parse_callchain_opt(const struct option *opt, const char *arg, int unset) in parse_callchain_opt() argument
1377 callchain->enabled = !unset; in parse_callchain_opt()
1383 if (unset) { in parse_callchain_opt()
1408 int unset __maybe_unused) in parse_percent_limit()
Dbuiltin-kmem.c1755 const char *arg, int unset __maybe_unused) in parse_sort_opt()
1778 int unset __maybe_unused) in parse_caller_opt()
1786 int unset __maybe_unused) in parse_alloc_opt()
1794 int unset __maybe_unused) in parse_slab_opt()
1802 int unset __maybe_unused) in parse_page_opt()
1809 const char *arg, int unset __maybe_unused) in parse_line_opt()
/tools/perf/ui/
Dui.h32 int stdio__config_color(const struct option *opt, const char *mode, int unset);
Dsetup.c71 const char *mode, int unset __maybe_unused) in stdio__config_color()

12