ret = TEST_OK; if (with_pmu ? (evlist->core.nr_entries != 1) : (evlist->core.nr_entries < 1)) {
pr_debug("FAILED %s:%d Unexpected number of events for '%s' of %d\n",
__FILE__, __LINE__, str, evlist->core.nr_entries);
ret = TEST_FAIL; goto out;
}
evlist__for_each_entry(evlist, evsel) { if (perf_pmu__is_tool(evsel->pmu)) { if (evsel->core.attr.config != ev) {
pr_debug("FAILED %s:%d Unexpected config for '%s', %lld != %d\n",
__FILE__, __LINE__, str, evsel->core.attr.config, ev);
ret = TEST_FAIL; goto out;
}
found = true;
}
}
if (!found && tool_pmu__event_to_str(ev)) {
pr_debug("FAILED %s:%d Didn't find tool event '%s' in parsed evsels\n",
__FILE__, __LINE__, str);
ret = TEST_FAIL;
}
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.