/* * IBM Power System supports compatible mode. That is * Nth generation platform can support previous generation * OS in a mode called compatibile mode. For ex. LPAR can be * booted in a Power9 mode when the system is a Power10. * * In the compatible mode, care must be taken when generating * PVR value. When read, PVR will be of the AT_BASE_PLATFORM * To support generic events, return 0x00ffffff as pvr when * booted in compat mode. Based on this pvr value, json will * pick events from pmu-events/arch/powerpc/compat
*/ if (!is_compat_mode())
pvr = mfspr(SPRN_PVR); else
pvr = 0x00ffffff;
if (asprintf(&bufp, "0x%.8lx", pvr) < 0)
bufp = NULL;
return bufp;
}
int arch_get_runtimeparam(conststruct pmu_metric *pm)
{ int count; char path[PATH_MAX] = "/devices/hv_24x7/interface/";
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.