| /tools/perf/Documentation/ |
| D | perf-check.txt | 12 'perf check' {feature <feature_list>} [<options>] 19 If the subcommand 'feature' is used, then status of feature is printed 22 Also, 'perf check feature' returns with exit status 0 if the feature 28 feature:: 30 Print whether feature(s) is compiled-in or not, and also returns with an 31 exit status of 0, if passed feature(s) are compiled-in, else 1. 33 It expects a feature list as an argument. There can be a single feature 38 The feature names/macros are case-insensitive. 41 perf check feature libtraceevent 42 perf check feature HAVE_LIBTRACEEVENT [all …]
|
| /tools/testing/selftests/net/ |
| D | netdevice.sh | 135 feature="${FEATURE%:*}" 137 ethtool --offload "$netdev" "$feature" off 139 echo "PASS: $netdev: Turned off feature: $feature" 142 "$feature" 145 ethtool --offload "$netdev" "$feature" on 147 echo "PASS: $netdev: Turned on feature: $feature" 150 "$feature" 154 ethtool --offload "$netdev" "$feature" "$VALUE" 156 echo "PASS: $netdev: Restore feature $feature" \ 160 "$feature to initial state $VALUE"
|
| /tools/perf/ |
| D | builtin-version.c | 49 #define STATUS(feature) \ argument 51 if (feature.is_builtin) \ 52 status_print(feature.name, feature.macro, "on"); \ 54 status_print(feature.name, feature.macro, "OFF"); \
|
| D | builtin-check.c | 79 #define STATUS(feature) \ argument 81 if (feature.is_builtin) \ 82 status_print(feature.name, feature.macro, "on"); \ 84 status_print(feature.name, feature.macro, "OFF"); \ 94 static int has_support(const char *feature) in has_support() argument 97 if ((strcasecmp(feature, supported_features[i].name) == 0) || in has_support() 98 (strcasecmp(feature, supported_features[i].macro) == 0)) { in has_support() 106 …ture '%s', please use 'perf version --build-options' to see which ones are available.\n", feature); in has_support()
|
| D | Makefile.config | 353 include $(srctree)/tools/build/Makefile.feature 358 ifeq ($(feature-stackprotector-all), 1) 363 ifeq ($(feature-fortify-source), 1) 393 ifeq ($(feature-pthread-attr-setaffinity-np), 1) 397 ifeq ($(feature-pthread-barrier), 1) 403 ifeq ($(feature-bionic), 1) 412 ifeq ($(feature-eventfd), 1) 416 ifeq ($(feature-get_current_dir_name), 1) 420 ifeq ($(feature-gettid), 1) 424 ifeq ($(feature-file-handle), 1) [all …]
|
| /tools/objtool/ |
| D | special.c | 25 unsigned char feature; /* ALTERNATIVE macro CPU feature */ member 38 .feature = ALT_FEATURE_OFFSET, 57 void __weak arch_handle_alternative(unsigned short feature, struct special_alt *alt) in arch_handle_alternative() argument 95 if (entry->feature) { in get_alt_entry() 96 unsigned short feature; in get_alt_entry() local 98 feature = bswap_if_needed(elf, in get_alt_entry() 101 entry->feature)); in get_alt_entry() 102 arch_handle_alternative(feature, alt); in get_alt_entry()
|
| /tools/testing/selftests/drivers/net/virtio_net/ |
| D | virtio_net_common.sh | 77 local feature=$1; shift 80 cat $debugfs/device_features |grep "^$feature$" &> /dev/null 95 local feature=$1; shift 98 echo "$feature" > $debugfs/filter_feature_add
|
| /tools/testing/selftests/bpf/ |
| D | xdp_features.c | 34 } feature; member 90 env.feature.action = XDP_PASS; in get_xdp_feature() 91 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature() 93 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature() 94 env.feature.action = XDP_DROP; in get_xdp_feature() 96 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature() 97 env.feature.action = XDP_ABORTED; in get_xdp_feature() 99 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature() 100 env.feature.action = XDP_TX; in get_xdp_feature() 102 env.feature.drv_feature = NETDEV_XDP_ACT_REDIRECT; in get_xdp_feature() [all …]
|
| /tools/bpf/bpftool/Documentation/ |
| D | bpftool-feature.rst | 4 bpftool-feature 17 **bpftool** [*OPTIONS*] **feature** *COMMAND* 26 | **bpftool** **feature probe** [*COMPONENT*] [**full**] [**unprivileged**] [**macros** [**prefix**… 27 | **bpftool** **feature list_builtins** *GROUP* 28 | **bpftool** **feature help** 35 bpftool feature probe [kernel] [full] [macros [prefix *PREFIX*]] 62 bpftool feature probe dev *NAME* [full] [macros [prefix *PREFIX*]] 69 bpftool feature list_builtins *GROUP* 78 bpftool feature help
|
| /tools/testing/selftests/kvm/include/x86_64/ |
| D | processor.h | 116 struct kvm_x86_cpu_feature feature = { \ 127 kvm_static_assert(idx < BIT(sizeof(feature.index) * BITS_PER_BYTE)); \ 128 feature; \ 309 struct kvm_x86_pmu_feature feature = { \ 315 feature; \ 695 static inline bool this_cpu_has(struct kvm_x86_cpu_feature feature) in this_cpu_has() argument 697 return __this_cpu_has(feature.function, feature.index, in this_cpu_has() 698 feature.reg, feature.bit, feature.bit); in this_cpu_has() 727 static inline bool this_pmu_has(struct kvm_x86_pmu_feature feature) in this_pmu_has() argument 731 if (feature.f.reg == KVM_CPUID_EBX) { in this_pmu_has() [all …]
|
| /tools/build/ |
| D | Makefile.feature | 2 feature_dir := $(srctree)/tools/build/feature 5 OUTPUT_FEATURES = $(OUTPUT)feature/ 11 …feature-$(1) := $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(EXTRA_… 16 feature-$(1) := 1 190 ifeq ($(feature-all), 1) 222 ifneq (,$(filter 1,$(foreach feat,$(call feature_group,$(feat)),$(feature-$(feat))))) 238 feature_assign = feature-$(1)=$(feature-$(1)) 274 ifneq ($(feature-$(1)), 1)
|
| D | Makefile | 35 TMP_O := $(if $(OUTPUT),$(OUTPUT)feature/,./) 41 $(call QUIET_CLEAN, feature-detect) 43 $(Q)$(MAKE) -C feature OUTPUT=$(TMP_O) clean >/dev/null
|
| /tools/bpf/bpftool/ |
| D | Makefile | 127 include $(srctree)/tools/build/Makefile.feature 135 ifeq ($(feature-libcap), 1) 146 ifeq ($(feature-llvm),1) 159 ifeq ($(feature-libbfd),1) 161 else ifeq ($(feature-libbfd-liberty),1) 163 else ifeq ($(feature-libbfd-liberty-z),1) 172 ifeq ($(feature-disassembler-four-args), 1) 175 ifeq ($(feature-disassembler-init-styled), 1) 203 ifeq ($(feature-clang-bpf-co-re),1) 251 feature-detect-clean: [all …]
|
| /tools/testing/selftests/kvm/x86_64/ |
| D | vmx_msrs_test.c | 72 struct kvm_x86_cpu_feature feature) in __ia32_feature_control_msr_test() argument 76 vcpu_clear_cpuid_feature(vcpu, feature); in __ia32_feature_control_msr_test() 85 if (!kvm_cpu_has(feature)) in __ia32_feature_control_msr_test() 88 vcpu_set_cpuid_feature(vcpu, feature); in __ia32_feature_control_msr_test()
|
| /tools/tracing/latency/ |
| D | Makefile.config | 20 ifeq ($(feature-libtraceevent), 1) 29 ifeq ($(feature-libtracefs), 1)
|
| D | .gitignore | 4 feature
|
| /tools/virtio/linux/ |
| D | virtio_config.h | 48 #define virtio_has_feature(dev, feature) \ argument 49 (__virtio_test_bit((dev), feature))
|
| /tools/arch/x86/intel_sdsi/ |
| D | intel_sdsi.c | 326 static void get_feature(uint32_t encoding, char feature[5]) in get_feature() 330 feature[4] = '\0'; in get_feature() 331 feature[3] = name[0]; in get_feature() 332 feature[2] = name[1]; in get_feature() 333 feature[1] = name[2]; in get_feature() 334 feature[0] = name[3]; in get_feature() 417 char feature[FEAT_LEN]; in sdsi_meter_cert_show() local 419 get_feature(bec[count].encoding, feature); in sdsi_meter_cert_show() 420 printf(" %s: %d\n", feature, bec[count].counter); in sdsi_meter_cert_show() 501 char feature[FEAT_LEN]; in sdsi_state_cert_show() local [all …]
|
| /tools/verification/rv/ |
| D | Makefile.config | 15 ifeq ($(feature-libtraceevent), 1) 31 ifeq ($(feature-libtracefs), 1)
|
| D | .gitignore | 5 feature
|
| /tools/bpf/ |
| D | Makefile | 50 include $(srctree)/tools/build/Makefile.feature 56 ifeq ($(feature-disassembler-four-args), 1) 59 ifeq ($(feature-disassembler-init-styled), 1) 101 $(Q)$(RM) -r -- $(OUTPUT)feature
|
| /tools/objtool/arch/x86/ |
| D | special.c | 10 void arch_handle_alternative(unsigned short feature, struct special_alt *alt) in arch_handle_alternative() argument 35 switch (feature) { in arch_handle_alternative()
|
| /tools/tracing/rtla/ |
| D | .gitignore | 5 feature
|
| /tools/include/asm/ |
| D | alternative.h | 7 .macro ALTERNATIVE oldinstr, newinstr, feature
|
| /tools/testing/selftests/kvm/riscv/ |
| D | get-reg-list.c | 140 uint64_t feature; in finalize_vcpu() local 162 if (!s->feature) in finalize_vcpu() 167 feature = RISCV_ISA_EXT_REG(s->feature); in finalize_vcpu() 170 feature = RISCV_SBI_EXT_REG(s->feature); in finalize_vcpu() 177 __vcpu_set_reg(vcpu, feature, 1); in finalize_vcpu() 180 __TEST_REQUIRE(__vcpu_has_ext(vcpu, feature), in finalize_vcpu() 861 {"sbi-base", .feature_type = VCPU_FEATURE_SBI_EXT, .feature = KVM_RISCV_SBI_EXT_V01, \ 864 {"sbi-sta", .feature_type = VCPU_FEATURE_SBI_EXT, .feature = KVM_RISCV_SBI_EXT_STA, \ 867 …{"zicbom", .feature = KVM_RISCV_ISA_EXT_ZICBOM, .regs = zicbom_regs, .regs_n = ARRAY_SIZE(zicbom_r… 869 …{"zicboz", .feature = KVM_RISCV_ISA_EXT_ZICBOZ, .regs = zicboz_regs, .regs_n = ARRAY_SIZE(zicboz_r… [all …]
|