/* * XXX: include required tracepoint headers, e.g., * #include <trace/events/sched.h>
*/ #include <rv_trace.h>
%%INCLUDE_PARENT%% /* * This is the self-generated part of the monitor. Generally, there is no need * to touch this section.
*/ #include"%%MODEL_NAME%%.h"
/* * Declare the deterministic automata monitor. * * The rv monitor reference is needed for the monitor declaration.
*/ staticstruct rv_monitor rv_%%MODEL_NAME%%;
DECLARE_DA_MON_%%MONITOR_TYPE%%(%%MODEL_NAME%%, %%MIN_TYPE%%);
/* * This is the instrumentation part of the monitor. * * This is the section where manual work is required. Here the kernel events * are translated into model's event. *
*/
%%TRACEPOINT_HANDLERS_SKEL%% staticint enable_%%MODEL_NAME%%(void)
{ int retval;
retval = da_monitor_init_%%MODEL_NAME%%(); if (retval) return retval;
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.