Home | History | Annotate | Download | only in util

Lines Matching refs:mod

699 static int get_event_modifier(struct event_modifier *mod, char *str,
714 memset(mod, 0, sizeof(*mod));
765 mod->eu = eu;
766 mod->ek = ek;
767 mod->eh = eh;
768 mod->eH = eH;
769 mod->eG = eG;
770 mod->precise = precise;
771 mod->exclude_GH = exclude_GH;
772 mod->sample_read = sample_read;
773 mod->pinned = pinned;
802 struct event_modifier mod;
810 if (!add && get_event_modifier(&mod, str, NULL))
815 if (add && get_event_modifier(&mod, str, evsel))
818 evsel->attr.exclude_user = mod.eu;
819 evsel->attr.exclude_kernel = mod.ek;
820 evsel->attr.exclude_hv = mod.eh;
821 evsel->attr.precise_ip = mod.precise;
822 evsel->attr.exclude_host = mod.eH;
823 evsel->attr.exclude_guest = mod.eG;
824 evsel->exclude_GH = mod.exclude_GH;
825 evsel->sample_read = mod.sample_read;
828 evsel->attr.pinned = mod.pinned;