evswitch 73 tools/perf/builtin-report.c struct evswitch evswitch; evswitch 256 tools/perf/builtin-report.c if (evswitch__discard(&rep->evswitch, evsel)) evswitch 1213 tools/perf/builtin-report.c OPTS_EVSWITCH(&report.evswitch), evswitch 1282 tools/perf/builtin-report.c ret = evswitch__init(&report.evswitch, session->evlist, stderr); evswitch 1644 tools/perf/builtin-script.c struct evswitch evswitch; evswitch 1822 tools/perf/builtin-script.c if (evswitch__discard(&script->evswitch, evsel)) evswitch 3559 tools/perf/builtin-script.c OPTS_EVSWITCH(&script.evswitch), evswitch 3880 tools/perf/builtin-script.c err = evswitch__init(&script.evswitch, session->evlist, stderr); evswitch 1152 tools/perf/builtin-top.c if (evswitch__discard(&top->evswitch, evsel)) evswitch 1540 tools/perf/builtin-top.c OPTS_EVSWITCH(&top.evswitch), evswitch 1574 tools/perf/builtin-top.c status = evswitch__init(&top.evswitch, top.evlist, stderr); evswitch 120 tools/perf/builtin-trace.c struct evswitch evswitch; evswitch 2695 tools/perf/builtin-trace.c if (evswitch__discard(&trace->evswitch, evsel)) evswitch 4175 tools/perf/builtin-trace.c OPTS_EVSWITCH(&trace.evswitch), evswitch 4399 tools/perf/builtin-trace.c err = evswitch__init(&trace.evswitch, trace.evlist, stderr); evswitch 7 tools/perf/util/evswitch.c bool evswitch__discard(struct evswitch *evswitch, struct evsel *evsel) evswitch 9 tools/perf/util/evswitch.c if (evswitch->on && evswitch->discarding) { evswitch 10 tools/perf/util/evswitch.c if (evswitch->on != evsel) evswitch 13 tools/perf/util/evswitch.c evswitch->discarding = false; evswitch 15 tools/perf/util/evswitch.c if (!evswitch->show_on_off_events) evswitch 21 tools/perf/util/evswitch.c if (evswitch->off && !evswitch->discarding) { evswitch 22 tools/perf/util/evswitch.c if (evswitch->off != evsel) evswitch 25 tools/perf/util/evswitch.c evswitch->discarding = true; evswitch 27 tools/perf/util/evswitch.c if (!evswitch->show_on_off_events) evswitch 41 tools/perf/util/evswitch.c int evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp) evswitch 43 tools/perf/util/evswitch.c if (evswitch->on_name) { evswitch 44 tools/perf/util/evswitch.c evswitch->on = perf_evlist__find_evsel_by_str(evlist, evswitch->on_name); evswitch 45 tools/perf/util/evswitch.c if (evswitch->on == NULL) { evswitch 46 tools/perf/util/evswitch.c evswitch__fprintf_enoent(fp, "on", evswitch->on_name); evswitch 49 tools/perf/util/evswitch.c evswitch->discarding = true; evswitch 52 tools/perf/util/evswitch.c if (evswitch->off_name) { evswitch 53 tools/perf/util/evswitch.c evswitch->off = perf_evlist__find_evsel_by_str(evlist, evswitch->off_name); evswitch 54 tools/perf/util/evswitch.c if (evswitch->off == NULL) { evswitch 55 tools/perf/util/evswitch.c evswitch__fprintf_enoent(fp, "off", evswitch->off_name); evswitch 19 tools/perf/util/evswitch.h int evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp); evswitch 21 tools/perf/util/evswitch.h bool evswitch__discard(struct evswitch *evswitch, struct evsel *evsel); evswitch 23 tools/perf/util/evswitch.h #define OPTS_EVSWITCH(evswitch) \ evswitch 24 tools/perf/util/evswitch.h OPT_STRING(0, "switch-on", &(evswitch)->on_name, \ evswitch 26 tools/perf/util/evswitch.h OPT_STRING(0, "switch-off", &(evswitch)->off_name, \ evswitch 28 tools/perf/util/evswitch.h OPT_BOOLEAN(0, "show-on-off-events", &(evswitch)->show_on_off_events, \ evswitch 24 tools/perf/util/top.h struct evswitch evswitch;