Lines Matching +full:- +full:affinity

1 /* SPDX-License-Identifier: GPL-2.0 */
28 * NOTREADY --(0)--> RUNNING --(1)--> DATA_PENDING --(2)--> EMPTY
201 int affinity, int flush, int comp_level);
239 return list_empty(&evlist->core.entries); in evlist__empty()
244 struct perf_evsel *evsel = perf_evlist__first(&evlist->core); in evlist__first()
251 struct perf_evsel *evsel = perf_evlist__last(&evlist->core); in evlist__last()
263 * __evlist__for_each_entry - iterate thru all the evsels
271 * evlist__for_each_entry - iterate thru all the evsels
276 __evlist__for_each_entry(&(evlist)->core.entries, evsel)
279 * __evlist__for_each_entry_continue - continue iteration thru all the evsels
287 * evlist__for_each_entry_continue - continue iteration thru all the evsels
292 __evlist__for_each_entry_continue(&(evlist)->core.entries, evsel)
295 * __evlist__for_each_entry_from - continue iteration from @evsel (included)
303 * evlist__for_each_entry_from - continue iteration from @evsel (included)
308 __evlist__for_each_entry_from(&(evlist)->core.entries, evsel)
311 * __evlist__for_each_entry_reverse - iterate thru all the evsels in reverse order
319 * evlist__for_each_entry_reverse - iterate thru all the evsels in reverse order
324 __evlist__for_each_entry_reverse(&(evlist)->core.entries, evsel)
327 * __evlist__for_each_entry_safe - safely iterate thru all the evsels
336 * evlist__for_each_entry_safe - safely iterate thru all the evsels
342 __evlist__for_each_entry_safe(&(evlist)->core.entries, tmp, evsel)
350 /** The CPU map index corresponding to the evsel->core.cpus for the current CPU. */
353 * The CPU map index corresponding to evlist->core.all_cpus for the
358 /** The number of CPU map entries in evlist->core.all_cpus. */
362 /** If present, used to set the affinity when switching between CPUs. */
363 struct affinity *affinity; member
367 * evlist__for_each_cpu - without affinity, iterate over the evlist. With
368 * affinity, iterate over all CPUs and then the evlist
370 * CPUs the affinity is set to the CPU to avoid IPIs
374 * @affinity: NULL or used to set the affinity to the current CPU.
376 #define evlist__for_each_cpu(evlist_cpu_itr, evlist, affinity) \ argument
377 for ((evlist_cpu_itr) = evlist__cpu_begin(evlist, affinity); \
382 struct evlist_cpu_iterator evlist__cpu_begin(struct evlist *evlist, struct affinity *affinity);
383 /** Move to next element in iterator, updating CPU, evsel and the affinity. */