Home
last modified time | relevance | path

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

/linux/tools/perf/util/bpf_skel/
H A Dsample_filter.bpf.c23 struct event_hash { struct
28 } event_hash SEC(".maps");
231 key_id = bpf_map_lookup_elem(&event_hash, &eid); in perf_sample_filter()
/linux/tools/perf/util/
H A Dbpf-filter.c22 * event_hash |
232 * like in create_event_hash() below, let's iterate the event_hash map and
245 fd = get_pinned_fd("event_hash"); in destroy_event_hash()
247 pr_debug("cannot get fd for 'event_hash' map\n"); in destroy_event_hash()
292 fd = get_pinned_fd("event_hash"); in create_event_hash()
294 pr_err("cannot get fd for 'event_hash' map\n"); in create_event_hash()
684 bpf_map__set_max_entries(skel->maps.event_hash, MAX_EVT_HASH); in perf_bpf_filter__pin()
740 if (fchmodat(dir_fd, "event_hash", 0666, 0) < 0) { in perf_bpf_filter__pin()
741 pr_debug("chmod for event_hash failed\n"); in perf_bpf_filter__pin()