Home
last modified time | relevance | path

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

/tools/build/
DMakefile.feature145 $(foreach feat,$(FEATURE_TESTS),$(call set_test_all_flags,$(feat)))
160 $(foreach feat,$(FEATURE_TESTS),$(call feature_set,$(feat)))
170 $(foreach feat,$(FEATURE_TESTS),$(call feature_check,$(feat)))
210 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_dump_check,$(call feature_assign,$(feat)),feature_…
215 $(foreach feat,$(FEATURE_TESTS),$(call feature_dump_check,$(call feature_assign,$(feat)),feature_du…
226 …$(foreach feat,$(FEATURE_TESTS),$(shell echo "$(call feature_assign,$(feat))" >> $(FEATURE_DUMP_FI…
236 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_display_check,$(feat)))
248 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_print_status,$(feat),))
256 $(foreach feat,$(TMP),$(call feature_print_status,$(feat),))
/tools/testing/selftests/kvm/x86_64/
Dhyperv_features.c155 struct kvm_cpuid_entry2 *feat, in hv_set_cpuid() argument
159 TEST_ASSERT(set_cpuid(cpuid, feat), in hv_set_cpuid()
174 struct kvm_cpuid_entry2 feat = { in guest_test_msrs_access() local
203 feat.eax |= HV_MSR_HYPERCALL_AVAILABLE; in guest_test_msrs_access()
230 feat.eax |= HV_MSR_VP_RUNTIME_AVAILABLE; in guest_test_msrs_access()
247 feat.eax |= HV_MSR_TIME_REF_COUNT_AVAILABLE; in guest_test_msrs_access()
264 feat.eax |= HV_MSR_VP_INDEX_AVAILABLE; in guest_test_msrs_access()
281 feat.eax |= HV_MSR_RESET_AVAILABLE; in guest_test_msrs_access()
297 feat.eax |= HV_MSR_REFERENCE_TSC_AVAILABLE; in guest_test_msrs_access()
321 feat.eax |= HV_MSR_SYNIC_AVAILABLE; in guest_test_msrs_access()
[all …]
/tools/perf/util/
Dheader.h124 void perf_header__set_feat(struct perf_header *header, int feat);
125 void perf_header__clear_feat(struct perf_header *header, int feat);
126 bool perf_header__has_feat(const struct perf_header *header, int feat);
134 int feat, int fd, void *data));
Dheader.c79 void perf_header__set_feat(struct perf_header *header, int feat) in perf_header__set_feat() argument
81 set_bit(feat, header->adds_features); in perf_header__set_feat()
84 void perf_header__clear_feat(struct perf_header *header, int feat) in perf_header__clear_feat() argument
86 clear_bit(feat, header->adds_features); in perf_header__clear_feat()
89 bool perf_header__has_feat(const struct perf_header *header, int feat) in perf_header__has_feat() argument
91 return test_bit(feat, header->adds_features); in perf_header__has_feat()
3340 int feat, int fd, void *data) in perf_file_section__fprintf_info() argument
3347 "%d, continuing...\n", section->offset, feat); in perf_file_section__fprintf_info()
3350 if (feat >= HEADER_LAST_FEATURE) { in perf_file_section__fprintf_info()
3351 pr_warning("unknown feature %d\n", feat); in perf_file_section__fprintf_info()
[all …]
Dsynthetic-events.c2139 int feat, ret; in perf_event__synthesize_features() local
2155 for_each_set_bit(feat, header->adds_features, HEADER_FEAT_BITS) { in perf_event__synthesize_features()
2156 if (!feat_ops[feat].synthesize) { in perf_event__synthesize_features()
2157 pr_debug("No record header feature for header :%d\n", feat); in perf_event__synthesize_features()
2163 ret = feat_ops[feat].write(&ff, evlist); in perf_event__synthesize_features()
2172 fe->feat_id = feat; in perf_event__synthesize_features()
/tools/arch/s390/include/uapi/asm/
Dkvm.h134 __u64 feat[16]; member
/tools/lib/perf/include/perf/
Devent.h424 struct perf_record_header_feature feat; member
/tools/perf/
Dbuiltin-stat.c1954 int feat; in init_features() local
1956 for (feat = HEADER_FIRST_FEATURE; feat < HEADER_LAST_FEATURE; feat++) in init_features()
1957 perf_header__set_feat(&session->header, feat); in init_features()
Dbuiltin-report.c229 if (event->feat.feat_id < HEADER_LAST_FEATURE) in process_feature_event()
232 if (event->feat.feat_id != HEADER_LAST_FEATURE) { in process_feature_event()
234 event->feat.feat_id); in process_feature_event()
Dbuiltin-record.c1201 int feat; in record__init_features() local
1203 for (feat = HEADER_FIRST_FEATURE; feat < HEADER_LAST_FEATURE; feat++) in record__init_features()
1204 perf_header__set_feat(&session->header, feat); in record__init_features()
Dbuiltin-annotate.c292 if (event->feat.feat_id < HEADER_LAST_FEATURE) in process_feature_event()
DMakefile.config1242 $(foreach feat,$(FEATURE_TESTS_EXTRA),$(call feature_print_status,$(feat),))
1285 $(foreach feat,$(FEATURE_TESTS),$(shell echo "$(call feature_assign,$(feat))" >> $(FEATURE_DUMP_FIL…
Dbuiltin-timechart.c1506 int feat, in process_header() argument
1512 switch (feat) { in process_header()
Dbuiltin-script.c3562 if (event->feat.feat_id < HEADER_LAST_FEATURE) in process_feature_event()
/tools/lib/bpf/
Dlibbpf.c4446 struct kern_feature_desc *feat = &feature_probes[feat_id]; in kernel_supports() local
4455 if (READ_ONCE(feat->res) == FEAT_UNKNOWN) { in kernel_supports()
4456 ret = feat->probe(); in kernel_supports()
4458 WRITE_ONCE(feat->res, FEAT_SUPPORTED); in kernel_supports()
4460 WRITE_ONCE(feat->res, FEAT_MISSING); in kernel_supports()
4462 pr_warn("Detection of kernel %s support failed: %d\n", feat->desc, ret); in kernel_supports()
4463 WRITE_ONCE(feat->res, FEAT_MISSING); in kernel_supports()
4467 return READ_ONCE(feat->res) == FEAT_SUPPORTED; in kernel_supports()