Searched refs:evswitch (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | evswitch.c | 8 bool evswitch__discard(struct evswitch *evswitch, struct evsel *evsel) in evswitch__discard() argument 10 if (evswitch->on && evswitch->discarding) { in evswitch__discard() 11 if (evswitch->on != evsel) in evswitch__discard() 14 evswitch->discarding = false; in evswitch__discard() 16 if (!evswitch->show_on_off_events) in evswitch__discard() 22 if (evswitch->off && !evswitch->discarding) { in evswitch__discard() 23 if (evswitch->off != evsel) in evswitch__discard() 26 evswitch->discarding = true; in evswitch__discard() 28 if (!evswitch->show_on_off_events) in evswitch__discard() 42 int evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp) in evswitch__init() argument [all …]
|
| H A 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, \
|
| H A D | top.h | 24 struct evswitch evswitch; member
|
| H A D | Build | 25 perf-util-y += evswitch.o
|
| /linux/tools/perf/ |
| H A D | builtin-report.c | 79 struct evswitch evswitch; member 290 if (evswitch__discard(&rep->evswitch, evsel)) in process_sample_event() 1490 OPTS_EVSWITCH(&report.evswitch), in cmd_report() 1625 ret = evswitch__init(&report.evswitch, session->evlist, stderr); in cmd_report()
|
| H A D | builtin-top.c | 1173 if (evswitch__discard(&top->evswitch, evsel)) { in deliver_event() 1619 OPTS_EVSWITCH(&top.evswitch), in cmd_top() 1707 status = evswitch__init(&top.evswitch, top.evlist, stderr); in cmd_top()
|
| H A D | builtin-script.c | 161 struct evswitch evswitch; member 2679 if (evswitch__discard(&scr->evswitch, evsel)) in process_sample_event() 2761 if (evswitch__discard(&scr->evswitch, evsel)) in process_deferred_sample_event() 4168 OPTS_EVSWITCH(&script.evswitch), in cmd_script() 4559 err = evswitch__init(&script.evswitch, session->evlist, stderr); in cmd_script()
|
| H A D | builtin-trace.c | 169 struct evswitch evswitch; member 3636 if (evswitch__discard(&trace->evswitch, evsel)) in trace__handle_event() 5477 OPTS_EVSWITCH(&trace.evswitch), in cmd_trace() 5743 err = evswitch__init(&trace.evswitch, trace.evlist, stderr); in cmd_trace()
|