Home
last modified time | relevance | path

Searched refs:OPT_CALLBACK (Results 1 – 17 of 17) sorted by relevance

/tools/perf/
Dbuiltin-probe.c516 OPT_CALLBACK('d', "del", NULL, "[GROUP:]EVENT", "delete a probe event.", in __cmd_probe()
518 OPT_CALLBACK('a', "add", NULL, PROBEDEF_STR, in __cmd_probe()
536 OPT_CALLBACK('D', "definition", NULL, PROBEDEF_STR, in __cmd_probe()
541 OPT_CALLBACK('L', "line", NULL, in __cmd_probe()
544 OPT_CALLBACK('V', "vars", NULL, in __cmd_probe()
563 OPT_CALLBACK('\0', "filter", NULL, in __cmd_probe()
568 OPT_CALLBACK('x', "exec", NULL, "executable|path", in __cmd_probe()
570 OPT_CALLBACK('m', "module", NULL, "modname|path", in __cmd_probe()
580 OPT_CALLBACK(0, "target-ns", NULL, "pid", in __cmd_probe()
Dbuiltin-ftrace.c471 OPT_CALLBACK('T', "trace-funcs", &ftrace.filters, "func", in cmd_ftrace()
473 OPT_CALLBACK('N', "notrace-funcs", &ftrace.notrace, "func", in cmd_ftrace()
475 OPT_CALLBACK('G', "graph-funcs", &ftrace.graph_funcs, "func", in cmd_ftrace()
477 OPT_CALLBACK('g', "nograph-funcs", &ftrace.nograph_funcs, "func", in cmd_ftrace()
Dbuiltin-top.c1426 OPT_CALLBACK('e', "event", &top.evlist, "event", in cmd_top()
1446 OPT_CALLBACK('m', "mmap-pages", &opts->mmap_pages, "pages", in cmd_top()
1464 OPT_CALLBACK('F', "freq", &top.record_opts, "freq or 'max'", in cmd_top()
1485 OPT_CALLBACK(0, "call-graph", &callchain_param, in cmd_top()
1493 OPT_CALLBACK(0, "ignore-callees", NULL, "regex", in cmd_top()
1516 OPT_CALLBACK(0, "percent-limit", &top, "percent", in cmd_top()
1518 OPT_CALLBACK(0, "percentage", NULL, "relative|absolute", in cmd_top()
1528 OPT_CALLBACK('j', "branch-filter", &opts->branch_stack, in cmd_top()
Dbuiltin-record.c2120 OPT_CALLBACK('e', "event", &record.evlist, "event",
2123 OPT_CALLBACK(0, "filter", &record.evlist, "filter",
2154 OPT_CALLBACK('F', "freq", &record.opts, "freq or 'max'",
2157 OPT_CALLBACK('m', "mmap-pages", &record.opts, "pages[,pages]",
2160 OPT_CALLBACK(0, "mmap-flush", &record.opts, "number",
2168 OPT_CALLBACK(0, "call-graph", &record.opts,
2193 OPT_CALLBACK('G', "cgroup", &record.evlist, "name",
2205 OPT_CALLBACK('j', "branch-filter", &record.opts.branch_stack,
2222 OPT_CALLBACK('k', "clockid", &record.opts,
2268 OPT_CALLBACK(0, "affinity", &record.opts, "node|cpu",
Dbuiltin-mem.c78 OPT_CALLBACK('e', "event", &mem, "event", in __cmd_record()
410 OPT_CALLBACK('t', "type", &mem.operation, in cmd_mem()
Dbuiltin-report.c1130 OPT_CALLBACK(0, "ignore-callees", NULL, "regex", in cmd_report()
1153 OPT_CALLBACK(0, "symfs", NULL, "directory", in cmd_report()
1184 OPT_CALLBACK(0, "percent-limit", &report, "percent", in cmd_report()
1186 OPT_CALLBACK(0, "percentage", NULL, "relative|absolute", in cmd_report()
1208 OPT_CALLBACK(0, "percent-type", &report.annotation_opts, "local-period", in cmd_report()
1212 OPT_CALLBACK(0, "time-quantum", &symbol_conf.time_quantum, "time (ms|us|ns|s)", in cmd_report()
Dbuiltin-annotate.c529 OPT_CALLBACK(0, "symfs", NULL, "directory", in cmd_annotate()
549 OPT_CALLBACK(0, "percent-type", &annotate.opts, "local-period", in cmd_annotate()
Dbuiltin-timechart.c1940 OPT_CALLBACK(0, "highlight", NULL, "duration or task name", in cmd_timechart()
1943 OPT_CALLBACK('p', "process", NULL, "process", in cmd_timechart()
1946 OPT_CALLBACK(0, "symfs", NULL, "directory", in cmd_timechart()
1955 OPT_CALLBACK(0, "io-min-time", &tchart.min_time, "time", in cmd_timechart()
1958 OPT_CALLBACK(0, "io-merge-dist", &tchart.merge_dist, "time", in cmd_timechart()
Dbuiltin-stat.c729 OPT_CALLBACK('e', "event", &evsel_list, "event",
732 OPT_CALLBACK(0, "filter", &evsel_list, "filter",
768 OPT_CALLBACK('G', "cgroup", &evsel_list, "name",
803 OPT_CALLBACK('M', "metrics", &evsel_list, "metric/metric group list",
Dbuiltin-trace.c4084 struct option o = OPT_CALLBACK('e', "event", &trace->evlist, "event", in trace__config()
4155 OPT_CALLBACK('e', "event", &trace, "event", in cmd_trace()
4161 OPT_CALLBACK(0, "expr", &trace, "expr", "list of syscalls/events to trace", in cmd_trace()
4169 OPT_CALLBACK(0, "filter-pids", &trace, "CSV list of pids", in cmd_trace()
4177 OPT_CALLBACK('m', "mmap-pages", &trace.opts.mmap_pages, "pages", in cmd_trace()
4182 OPT_CALLBACK(0, "duration", &trace, "float", in cmd_trace()
4202 OPT_CALLBACK(0, "call-graph", &trace.opts, in cmd_trace()
4222 OPT_CALLBACK('G', "cgroup", &trace, "name", "monitor event in cgroup name only", in cmd_trace()
Dbuiltin-diff.c1250 OPT_CALLBACK('c', "compute", &compute,
1277 OPT_CALLBACK(0, "symfs", NULL, "directory",
1281 OPT_CALLBACK(0, "percentage", NULL, "relative|absolute",
Dbuiltin-kmem.c1913 OPT_CALLBACK('s', "sort", NULL, "key[,key2...]", in cmd_kmem()
1916 OPT_CALLBACK('l', "line", NULL, "num", "show n lines", parse_line_opt), in cmd_kmem()
Dbuiltin-script.c3462 OPT_CALLBACK('s', "script", NULL, "name", in cmd_script()
3478 OPT_CALLBACK(0, "symfs", NULL, "directory", in cmd_script()
3481 OPT_CALLBACK('F', "fields", NULL, "str", in cmd_script()
Dbuiltin-kvm.c1351 OPT_CALLBACK('m', "mmap-pages", &kvm->opts.mmap_pages, "pages", in kvm_events_live()
Dbuiltin-c2c.c2902 OPT_CALLBACK('e', "event", &event_set, "event", in perf_c2c__record()
/tools/lib/subcmd/
Dparse-options.h152 #define OPT_CALLBACK(s, l, v, a, h, f) \ macro
/tools/perf/bench/
Dnuma.c203 OPT_CALLBACK('C', "cpus", NULL, "cpu[,cpu2,...cpuN]",
206 OPT_CALLBACK('M', "memnodes", NULL, "node[,node2,...nodeN]",