Searched refs:evswitch (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/tools/perf/util/ |
D | evswitch.c | 7 bool evswitch__discard(struct evswitch *evswitch, struct evsel *evsel) in evswitch__discard() argument 9 if (evswitch->on && evswitch->discarding) { in evswitch__discard() 10 if (evswitch->on != evsel) in evswitch__discard() 13 evswitch->discarding = false; in evswitch__discard() 15 if (!evswitch->show_on_off_events) in evswitch__discard() 21 if (evswitch->off && !evswitch->discarding) { in evswitch__discard() 22 if (evswitch->off != evsel) in evswitch__discard() 25 evswitch->discarding = true; in evswitch__discard() 27 if (!evswitch->show_on_off_events) in evswitch__discard() 41 int evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp) in evswitch__init() argument [all …]
|
D | evswitch.h | 12 struct evswitch { struct 19 int evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp); argument 21 bool evswitch__discard(struct evswitch *evswitch, struct evsel *evsel); 23 #define OPTS_EVSWITCH(evswitch) \ argument 24 OPT_STRING(0, "switch-on", &(evswitch)->on_name, \ 26 OPT_STRING(0, "switch-off", &(evswitch)->off_name, \ 28 OPT_BOOLEAN(0, "show-on-off-events", &(evswitch)->show_on_off_events, \
|
D | top.h | 25 struct evswitch evswitch; member
|
D | Build | 22 perf-y += evswitch.o
|
/Linux-v6.6/tools/perf/ |
D | builtin-report.c | 77 struct evswitch evswitch; member 285 if (evswitch__discard(&rep->evswitch, evsel)) in process_sample_event() 1396 OPTS_EVSWITCH(&report.evswitch), in cmd_report() 1492 ret = evswitch__init(&report.evswitch, session->evlist, stderr); in cmd_report()
|
D | builtin-top.c | 1164 if (evswitch__discard(&top->evswitch, evsel)) in deliver_event() 1600 OPTS_EVSWITCH(&top.evswitch), in cmd_top() 1675 status = evswitch__init(&top.evswitch, top.evlist, stderr); in cmd_top()
|
D | builtin-script.c | 154 struct evswitch evswitch; member 2402 if (evswitch__discard(&scr->evswitch, evsel)) in process_sample_event() 3997 OPTS_EVSWITCH(&script.evswitch), in cmd_script() 4358 err = evswitch__init(&script.evswitch, session->evlist, stderr); in cmd_script()
|
D | builtin-trace.c | 152 struct evswitch evswitch; member 3187 if (evswitch__discard(&trace->evswitch, evsel)) 4782 OPTS_EVSWITCH(&trace.evswitch), 5042 err = evswitch__init(&trace.evswitch, trace.evlist, stderr);
|