int opal_tracepoint_regfunc(void)
{
static_key_slow_inc(&opal_tracepoint_key); return 0;
}
void opal_tracepoint_unregfunc(void)
{
static_key_slow_dec(&opal_tracepoint_key);
} #else /* * We optimise OPAL calls by placing opal_tracepoint_refcount * directly in the TOC so we can check if the opal tracepoints are * enabled via a single load.
*/
/* NB: reg/unreg are called while guarded with the tracepoints_mutex */ externlong opal_tracepoint_refcount;
int opal_tracepoint_regfunc(void)
{
opal_tracepoint_refcount++; return 0;
}
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.