Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dfeatures.c747 bool feat_supported(struct kern_feature_cache *cache, enum kern_feature_id feat_id) in feat_supported() argument
749 struct kern_feature_desc *feat = &feature_probes[feat_id]; in feat_supported()
756 if (READ_ONCE(cache->res[feat_id]) == FEAT_UNKNOWN) { in feat_supported()
759 WRITE_ONCE(cache->res[feat_id], FEAT_SUPPORTED); in feat_supported()
761 WRITE_ONCE(cache->res[feat_id], FEAT_MISSING); in feat_supported()
765 WRITE_ONCE(cache->res[feat_id], FEAT_MISSING); in feat_supported()
769 return READ_ONCE(cache->res[feat_id]) == FEAT_SUPPORTED; in feat_supported()
H A Dlibbpf_internal.h420 bool feat_supported(struct kern_feature_cache *cache, enum kern_feature_id feat_id);
421 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id);
H A Dlibbpf.c5231 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id) in kernel_supports() argument
5240 return feat_supported(obj->feat_cache, feat_id); in kernel_supports()
5242 return feat_supported(NULL, feat_id); in kernel_supports()
5672 enum kern_feature_id feat_id; in bpf_object__create_maps() local
5674 feat_id = is_percpu ? FEAT_PERCPU_DATA : FEAT_GLOBAL_DATA; in bpf_object__create_maps()
5675 if (!kernel_supports(obj, feat_id)) in bpf_object__create_maps()
/linux/tools/perf/util/
H A Ddata-convert-json.c
H A Dintel-tpebs.c
H A Ddata-convert-bt.c1438 switch (fe->feat_id) { in process_feature_event()
H A Dsynthetic-events.c2594 fe->feat_id = feat; in __synthesize_schedstat_domain()
2607 fe->feat_id = HEADER_LAST_FEATURE; in __synthesize_schedstat_domain()
H A Dheader.c5321 int feat = (int)fe->feat_id;
/linux/tools/lib/perf/include/perf/
H A Devent.h471 __u64 feat_id;
464 __u64 feat_id; global() member
/linux/tools/perf/
H A Dbuiltin-report.c251 (int)event->feat.feat_id >= session->header.last_feat) { in process_feature_event()
253 * (feat_id = HEADER_LAST_FEATURE) is the end marker which means in process_feature_event()
H A Dbuiltin-annotate.c
H A Dbuiltin-script.c