Lines Matching +full:- +full:affinity

1 /* SPDX-License-Identifier: GPL-2.0 */
30 * NOTREADY --(0)--> RUNNING --(1)--> DATA_PENDING --(2)--> EMPTY
200 int affinity, int flush, int comp_level);
238 return list_empty(&evlist->core.entries); in evlist__empty()
243 struct perf_evsel *evsel = perf_evlist__first(&evlist->core); in evlist__first()
250 struct perf_evsel *evsel = perf_evlist__last(&evlist->core); in evlist__last()
257 return perf_evlist__nr_groups(&evlist->core); in evlist__nr_groups()
267 * __evlist__for_each_entry - iterate thru all the evsels
275 * evlist__for_each_entry - iterate thru all the evsels
280 __evlist__for_each_entry(&(evlist)->core.entries, evsel)
283 * __evlist__for_each_entry_continue - continue iteration thru all the evsels
291 * evlist__for_each_entry_continue - continue iteration thru all the evsels
296 __evlist__for_each_entry_continue(&(evlist)->core.entries, evsel)
299 * __evlist__for_each_entry_from - continue iteration from @evsel (included)
307 * evlist__for_each_entry_from - continue iteration from @evsel (included)
312 __evlist__for_each_entry_from(&(evlist)->core.entries, evsel)
315 * __evlist__for_each_entry_reverse - iterate thru all the evsels in reverse order
323 * evlist__for_each_entry_reverse - iterate thru all the evsels in reverse order
328 __evlist__for_each_entry_reverse(&(evlist)->core.entries, evsel)
331 * __evlist__for_each_entry_safe - safely iterate thru all the evsels
340 * evlist__for_each_entry_safe - safely iterate thru all the evsels
346 __evlist__for_each_entry_safe(&(evlist)->core.entries, tmp, evsel)
354 /** The CPU map index corresponding to the evsel->core.cpus for the current CPU. */
357 * The CPU map index corresponding to evlist->core.all_cpus for the
362 /** The number of CPU map entries in evlist->core.all_cpus. */
366 /** If present, used to set the affinity when switching between CPUs. */
367 struct affinity *affinity; member
371 * evlist__for_each_cpu - without affinity, iterate over the evlist. With
372 * affinity, iterate over all CPUs and then the evlist
374 * CPUs the affinity is set to the CPU to avoid IPIs
378 * @affinity: NULL or used to set the affinity to the current CPU.
380 #define evlist__for_each_cpu(evlist_cpu_itr, evlist, affinity) \ argument
381 for ((evlist_cpu_itr) = evlist__cpu_begin(evlist, affinity); \
386 struct evlist_cpu_iterator evlist__cpu_begin(struct evlist *evlist, struct affinity *affinity);
387 /** Move to next element in iterator, updating CPU, evsel and the affinity. */