Lines Matching full:leader
22 * evsel__config_leader_sampling() uses special rules for leader sampling.
23 * However, if the leader is an AUX area event, then assume the event to sample
28 struct evsel *leader = evsel__leader(evsel); in evsel__read_sampler() local
30 if (evsel__is_aux_event(leader) || arch_topdown_sample_read(leader) || in evsel__read_sampler()
31 is_mem_loads_aux_event(leader)) { in evsel__read_sampler()
33 if (evsel__leader(evsel) == leader && evsel != evsel__leader(evsel)) in evsel__read_sampler()
38 return leader; in evsel__read_sampler()
56 struct evsel *leader = evsel__leader(evsel); in evsel__config_leader_sampling() local
60 if (!leader->sample_read) in evsel__config_leader_sampling()
71 * config terms or the leader. In the case of an AUX area event, the 2nd in evsel__config_leader_sampling()
85 * the group leader sample. Set the slave event to follow the master in evsel__config_leader_sampling()
88 * the sample type bits from the leader's sample_type to cover that in evsel__config_leader_sampling()
92 leader->core.attr.sample_type; in evsel__config_leader_sampling()
113 /* Configure leader sampling here now that the sample type is known */ in evlist__config()