Searched refs:evswitch (Results 1 - 7 of 7) sorted by relevance

/linux-master/tools/perf/util/
H A Devswitch.c4 #include "evswitch.h"
7 bool evswitch__discard(struct evswitch *evswitch, struct evsel *evsel) argument
9 if (evswitch->on && evswitch->discarding) {
10 if (evswitch->on != evsel)
13 evswitch->discarding = false;
15 if (!evswitch->show_on_off_events)
21 if (evswitch->off && !evswitch
41 evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp) argument
[all...]
H A Devswitch.h12 struct evswitch { struct
19 int evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp);
21 bool evswitch__discard(struct evswitch *evswitch, struct evsel *evsel);
23 #define OPTS_EVSWITCH(evswitch) \
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, \
H A Dtop.h6 #include "evswitch.h"
24 struct evswitch evswitch; member in struct:perf_top
/linux-master/tools/perf/
H A Dbuiltin-report.c32 #include "util/evswitch.h"
78 struct evswitch evswitch; member in struct:report
286 if (evswitch__discard(&rep->evswitch, evsel))
1468 OPTS_EVSWITCH(&report.evswitch),
1571 ret = evswitch__init(&report.evswitch, session->evlist, stderr);
H A Dbuiltin-top.c1163 if (evswitch__discard(&top->evswitch, evsel))
1600 OPTS_EVSWITCH(&top.evswitch),
1675 status = evswitch__init(&top.evswitch, top.evlist, stderr);
H A Dbuiltin-script.c22 #include "util/evswitch.h"
156 struct evswitch evswitch; member in struct:perf_script
2418 if (evswitch__discard(&scr->evswitch, evsel))
4034 OPTS_EVSWITCH(&script.evswitch),
4395 err = evswitch__init(&script.evswitch, session->evlist, stderr);
H A Dbuiltin-trace.c40 #include "util/evswitch.h"
153 struct evswitch evswitch; member in struct:trace
3187 if (evswitch__discard(&trace->evswitch, evsel))
4785 OPTS_EVSWITCH(&trace.evswitch),
5045 err = evswitch__init(&trace.evswitch, trace.evlist, stderr);

Completed in 193 milliseconds