Lines Matching +full:- +full:affinity

1 /* SPDX-License-Identifier: GPL-2.0 */
30 * NOTREADY --(0)--> RUNNING --(1)--> DATA_PENDING --(2)--> EMPTY
187 int affinity, int flush, int comp_level);
225 return list_empty(&evlist->core.entries); in evlist__empty()
230 struct perf_evsel *evsel = perf_evlist__first(&evlist->core); in evlist__first()
237 struct perf_evsel *evsel = perf_evlist__last(&evlist->core); in evlist__last()
244 return perf_evlist__nr_groups(&evlist->core); in evlist__nr_groups()
254 * __evlist__for_each_entry - iterate thru all the evsels
262 * evlist__for_each_entry - iterate thru all the evsels
267 __evlist__for_each_entry(&(evlist)->core.entries, evsel)
270 * __evlist__for_each_entry_continue - continue iteration thru all the evsels
278 * evlist__for_each_entry_continue - continue iteration thru all the evsels
283 __evlist__for_each_entry_continue(&(evlist)->core.entries, evsel)
286 * __evlist__for_each_entry_from - continue iteration from @evsel (included)
294 * evlist__for_each_entry_from - continue iteration from @evsel (included)
299 __evlist__for_each_entry_from(&(evlist)->core.entries, evsel)
302 * __evlist__for_each_entry_reverse - iterate thru all the evsels in reverse order
310 * evlist__for_each_entry_reverse - iterate thru all the evsels in reverse order
315 __evlist__for_each_entry_reverse(&(evlist)->core.entries, evsel)
318 * __evlist__for_each_entry_safe - safely iterate thru all the evsels
327 * evlist__for_each_entry_safe - safely iterate thru all the evsels
333 __evlist__for_each_entry_safe(&(evlist)->core.entries, tmp, evsel)
341 /** The CPU map index corresponding to the evsel->core.cpus for the current CPU. */
344 * The CPU map index corresponding to evlist->core.all_cpus for the
349 /** The number of CPU map entries in evlist->core.all_cpus. */
353 /** If present, used to set the affinity when switching between CPUs. */
354 struct affinity *affinity; member
358 * evlist__for_each_cpu - without affinity, iterate over the evlist. With
359 * affinity, iterate over all CPUs and then the evlist
361 * CPUs the affinity is set to the CPU to avoid IPIs
365 * @affinity: NULL or used to set the affinity to the current CPU.
367 #define evlist__for_each_cpu(evlist_cpu_itr, evlist, affinity) \ argument
368 for ((evlist_cpu_itr) = evlist__cpu_begin(evlist, affinity); \
373 struct evlist_cpu_iterator evlist__cpu_begin(struct evlist *evlist, struct affinity *affinity);
374 /** Move to next element in iterator, updating CPU, evsel and the affinity. */