/* Check whether the evsel's PMU supports the perf metrics */ bool evsel__sys_has_perf_metrics(conststruct evsel *evsel)
{ struct perf_pmu *pmu;
if (!topdown_sys_has_perf_metrics()) returnfalse;
/* * The PERF_TYPE_RAW type is the core PMU type, e.g., "cpu" PMU on a * non-hybrid machine, "cpu_core" PMU on a hybrid machine. The * topdown_sys_has_perf_metrics checks the slots event is only available * for the core PMU, which supports the perf metrics feature. Checking * both the PERF_TYPE_RAW type and the slots event should be good enough * to detect the perf metrics feature.
*/
pmu = evsel__find_pmu(evsel); return pmu && pmu->type == PERF_TYPE_RAW;
}
bool arch_evsel__must_be_in_group(conststruct evsel *evsel)
{ if (!evsel__sys_has_perf_metrics(evsel)) returnfalse;
staticvoid ibs_l3miss_warn(void)
{
pr_warning( "WARNING: Hw internally resets sampling period when L3 Miss Filtering is enabled\n" "and tagged operation does not cause L3 Miss. This causes sampling period skew.\n");
}
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.