Lines Matching full:feature
12 static const char * const check_subcommands[] = { "feature", NULL };
21 "perf check feature <feature_list>",
70 /* Helper function to print status of a feature along with name/macro */
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"); \
88 * check whether "feature" is built-in with perf
91 * 0: NOT built-in or Feature not known
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 …pr_err("Unknown feature '%s', please use 'perf version --build-options' to see which ones are avai… in has_support()
113 * Usage: 'perf check feature <feature_list>'
115 * <feature_list> can be a single feature name/macro, or a comma-separated list
116 * of feature names/macros
137 pr_err("Too many arguments passed to 'perf check feature'\n"); in subcommand_feature()
145 pr_err("ERROR: failed to allocate memory for feature list\n"); in subcommand_feature()
169 if (strcmp(argv[0], "feature") == 0) in cmd_check()