Lines Matching defs:mod
1624 static int get_event_modifier(struct event_modifier *mod, char *str,
1644 memset(mod, 0, sizeof(*mod));
1707 mod->eu = eu;
1708 mod->ek = ek;
1709 mod->eh = eh;
1710 mod->eH = eH;
1711 mod->eG = eG;
1712 mod->eI = eI;
1713 mod->precise = precise;
1714 mod->precise_max = precise_max;
1715 mod->exclude_GH = exclude_GH;
1716 mod->sample_read = sample_read;
1717 mod->pinned = pinned;
1718 mod->weak = weak;
1719 mod->bpf_counter = bpf_counter;
1720 mod->exclusive = exclusive;
1749 struct event_modifier mod;
1757 if (!add && get_event_modifier(&mod, str, NULL))
1761 if (add && get_event_modifier(&mod, str, evsel))
1764 evsel->core.attr.exclude_user = mod.eu;
1765 evsel->core.attr.exclude_kernel = mod.ek;
1766 evsel->core.attr.exclude_hv = mod.eh;
1767 evsel->core.attr.precise_ip = mod.precise;
1768 evsel->core.attr.exclude_host = mod.eH;
1769 evsel->core.attr.exclude_guest = mod.eG;
1770 evsel->core.attr.exclude_idle = mod.eI;
1771 evsel->exclude_GH = mod.exclude_GH;
1772 evsel->sample_read = mod.sample_read;
1773 evsel->precise_max = mod.precise_max;
1774 evsel->weak_group = mod.weak;
1775 evsel->bpf_counter = mod.bpf_counter;
1778 evsel->core.attr.pinned = mod.pinned;
1779 evsel->core.attr.exclusive = mod.exclusive;