/* Helper function to print status of a feature along with name/macro */ void feature_status__printf(conststruct feature_status *feature)
{ constchar *name = feature->name, *macro = feature->macro,
*status = feature->is_builtin ? "on" : "OFF";
if (!argc)
usage_with_options(check_feature_usage, check_feature_options);
if (argc > 1) {
pr_err("Too many arguments passed to 'perf check feature'\n"); return -1;
}
feature_enabled = 1; /* feature_list is a non-const copy of 'argv[0]' */
feature_list = strdup(argv[0]); if (!feature_list) {
pr_err("ERROR: failed to allocate memory for feature list\n"); return -1;
}
if (!argc)
usage_with_options(check_usage, check_options);
if (strcmp(argv[0], "feature") == 0) return subcommand_feature(argc, argv);
/* If no subcommand matched above, print usage help */
pr_err("Unknown subcommand: %s\n", argv[0]);
usage_with_options(check_usage, check_options);
/* free usage string allocated by parse_options_subcommand */
free((void *)check_usage[0]);
return0;
}
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.9Bemerkung:
(vorverarbeitet am 2026-10-11)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.