Lines Matching refs:kwork
123 static int setup_filters(struct perf_kwork *kwork) in setup_filters() argument
125 if (kwork->cpu_list) { in setup_filters()
136 map = perf_cpu_map__new(kwork->cpu_list); in setup_filters()
159 int perf_kwork__top_prepare_bpf(struct perf_kwork *kwork) in perf_kwork__top_prepare_bpf() argument
179 list_for_each_entry(class, &kwork->class_list, list) { in perf_kwork__top_prepare_bpf()
194 if (kwork->cpu_list) in perf_kwork__top_prepare_bpf()
202 if (setup_filters(kwork)) in perf_kwork__top_prepare_bpf()
238 static int add_work(struct perf_kwork *kwork, struct work_key *key, in add_work() argument
258 work = perf_kwork_add_work(kwork, tmp.class, &tmp); in add_work()
268 int perf_kwork__top_read_bpf(struct perf_kwork *kwork) in perf_kwork__top_read_bpf() argument
296 if (add_work(kwork, &key, &data[i], i)) in perf_kwork__top_read_bpf()