Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/util/
H A Devswitch.c4 #include "evswitch.h"
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 in evswitch__discard()
41 evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp) evswitch__init() 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
/kernel/linux/linux-6.6/tools/perf/util/
H A Devswitch.c4 #include "evswitch.h"
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 in evswitch__discard()
41 evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp) evswitch__init() 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"
25 struct evswitch evswitch; member
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-report.c32 #include "util/evswitch.h"
73 struct evswitch evswitch; member
261 if (evswitch__discard(&rep->evswitch, evsel)) in process_sample_event()
1318 OPTS_EVSWITCH(&report.evswitch), in cmd_report()
1401 ret = evswitch__init(&report.evswitch, session->evlist, stderr); in cmd_report()
H A Dbuiltin-top.c1166 if (evswitch__discard(&top->evswitch, evsel)) in deliver_event()
1584 OPTS_EVSWITCH(&top.evswitch), in cmd_top()
1635 status = evswitch__init(&top.evswitch, top.evlist, stderr); in cmd_top()
H A Dbuiltin-script.c21 #include "util/evswitch.h"
135 struct evswitch evswitch; member
1929 if (evswitch__discard(&script->evswitch, evsel)) in process_event()
3597 OPTS_EVSWITCH(&script.evswitch), in cmd_script()
3929 err = evswitch__init(&script.evswitch, session->evlist, stderr); in cmd_script()
H A Dbuiltin-trace.c35 #include "util/evswitch.h"
150 struct evswitch evswitch; member
3120 if (evswitch__discard(&trace->evswitch, evsel))
4831 OPTS_EVSWITCH(&trace.evswitch),
5122 err = evswitch__init(&trace.evswitch, trace.evlist, stderr);
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-report.c32 #include "util/evswitch.h"
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()
H A Dbuiltin-top.c1164 if (evswitch__discard(&top->evswitch, evsel)) in deliver_event()
1601 OPTS_EVSWITCH(&top.evswitch), in cmd_top()
1676 status = evswitch__init(&top.evswitch, top.evlist, stderr); in cmd_top()
H A Dbuiltin-trace.c40 #include "util/evswitch.h"
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);
H A Dbuiltin-script.c22 #include "util/evswitch.h"
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()

Completed in 34 milliseconds