Searched refs:perf_obj (Results 1 – 1 of 1) sorted by relevance
107 #define bpf_perf_object__for_each(perf_obj, tmp) \ argument108 for ((perf_obj) = bpf_perf_object__next(NULL), \109 (tmp) = bpf_perf_object__next(perf_obj); \110 (perf_obj) != NULL; \111 (perf_obj) = (tmp), (tmp) = bpf_perf_object__next(tmp))118 struct bpf_perf_object *perf_obj = zalloc(sizeof(*perf_obj)); in bpf_perf_object__add() local120 if (perf_obj) { in bpf_perf_object__add()121 INIT_LIST_HEAD(&perf_obj->list); in bpf_perf_object__add()122 perf_obj->obj = obj; in bpf_perf_object__add()123 list_add_tail(&perf_obj->list, &bpf_objects_list); in bpf_perf_object__add()[all …]