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.c651 bool feat_supported(struct kern_feature_cache *cache, enum kern_feature_id feat_id) in feat_supported() argument
653 struct kern_feature_desc *feat = &feature_probes[feat_id]; in feat_supported()
660 if (READ_ONCE(cache->res[feat_id]) == FEAT_UNKNOWN) { in feat_supported()
663 WRITE_ONCE(cache->res[feat_id], FEAT_SUPPORTED); in feat_supported()
665 WRITE_ONCE(cache->res[feat_id], FEAT_MISSING); in feat_supported()
669 WRITE_ONCE(cache->res[feat_id], FEAT_MISSING); in feat_supported()
673 return READ_ONCE(cache->res[feat_id]) == FEAT_SUPPORTED; in feat_supported()
H A Dlibbpf_internal.h411 bool feat_supported(struct kern_feature_cache *cache, enum kern_feature_id feat_id);
412 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id);
H A Dlibbpf.c5152 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id) in kernel_supports() argument
5161 return feat_supported(obj->feat_cache, feat_id); in kernel_supports()
5163 return feat_supported(NULL, feat_id); in kernel_supports()
/linux/tools/lib/perf/include/perf/
H A Devent.h464 __u64 feat_id; member
/linux/tools/perf/util/
H A Ddata-convert-json.c333 if (event->feat.feat_id < HEADER_LAST_FEATURE) in process_feature_event()
H A Dintel-tpebs.c224 if (event->feat.feat_id < HEADER_LAST_FEATURE) in process_feature_event()
H A Ddata-convert-bt.c1416 if (event->feat.feat_id < HEADER_LAST_FEATURE) { in process_feature_event()
1423 switch (fe->feat_id) { in process_feature_event()
H A Dsynthetic-events.c2433 fe->feat_id = feat; in perf_event__synthesize_features()
2446 fe->feat_id = HEADER_LAST_FEATURE; in perf_event__synthesize_features()
H A Dheader.c4669 u64 feat = fe->feat_id; in perf_event__process_feature()
/linux/tools/perf/
H A Dbuiltin-report.c249 if (event->feat.feat_id < HEADER_LAST_FEATURE) in process_feature_event()
252 if (event->feat.feat_id != HEADER_LAST_FEATURE) { in process_feature_event()
254 event->feat.feat_id); in process_feature_event()
H A Dbuiltin-annotate.c320 if (event->feat.feat_id < HEADER_LAST_FEATURE) in process_feature_event()
H A Dbuiltin-script.c3946 if (event->feat.feat_id < HEADER_LAST_FEATURE) in process_feature_event()