Home
last modified time | relevance | path

Searched refs:attr_map_fd (Results 1 – 1 of 1) sorted by relevance

/tools/perf/util/
Dbpf_counter.c296 static bool bperf_attr_map_compatible(int attr_map_fd) in bperf_attr_map_compatible() argument
302 err = bpf_obj_get_info_by_fd(attr_map_fd, &map_info, &map_info_len); in bperf_attr_map_compatible()
390 static int bperf_reload_leader_program(struct evsel *evsel, int attr_map_fd, in bperf_reload_leader_program() argument
420 err = bpf_map_update_elem(attr_map_fd, &evsel->core.attr, entry, BPF_ANY); in bperf_reload_leader_program()
442 int attr_map_fd, diff_map_fd = -1, err; in bperf__load() local
464 attr_map_fd = bperf_lock_attr_map(target); in bperf__load()
465 if (attr_map_fd < 0) { in bperf__load()
470 err = bpf_map_lookup_elem(attr_map_fd, &evsel->core.attr, &entry); in bperf__load()
472 err = bpf_map_update_elem(attr_map_fd, &evsel->core.attr, &entry, BPF_ANY); in bperf__load()
479 bperf_reload_leader_program(evsel, attr_map_fd, &entry)) { in bperf__load()
[all …]