Home
last modified time | relevance | path

Searched refs:evswitch (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/tools/perf/util/
Devswitch.c7 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 …]
Devswitch.h12 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, \
Dtop.h25 struct evswitch evswitch; member
DBuild19 perf-y += evswitch.o
/linux-6.1.9/tools/perf/
Dbuiltin-report.c73 struct evswitch evswitch; member
276 if (evswitch__discard(&rep->evswitch, evsel)) in process_sample_event()
1377 OPTS_EVSWITCH(&report.evswitch), in cmd_report()
1455 ret = evswitch__init(&report.evswitch, session->evlist, stderr); in cmd_report()
Dbuiltin-top.c1159 if (evswitch__discard(&top->evswitch, evsel)) in deliver_event()
1580 OPTS_EVSWITCH(&top.evswitch), in cmd_top()
1635 status = evswitch__init(&top.evswitch, top.evlist, stderr); in cmd_top()
Dbuiltin-script.c147 struct evswitch evswitch; member
2363 if (evswitch__discard(&scr->evswitch, evsel)) in process_sample_event()
3942 OPTS_EVSWITCH(&script.evswitch), in cmd_script()
4299 err = evswitch__init(&script.evswitch, session->evlist, stderr); in cmd_script()
Dbuiltin-trace.c153 struct evswitch evswitch; member
3153 if (evswitch__discard(&trace->evswitch, evsel))
4889 OPTS_EVSWITCH(&trace.evswitch),
5188 err = evswitch__init(&trace.evswitch, trace.evlist, stderr);