/* * This is the self-generated part of the monitor. Generally, there is no need * to touch this section.
*/ #include"%%MODEL_NAME%%.h" #include <rv/ltl_monitor.h>
staticvoid ltl_atoms_fetch(struct task_struct *task, struct ltl_monitor *mon)
{ /* * This is called everytime the Buchi automaton is triggered. * * This function could be used to fetch the atomic propositions which * are expensive to trace. It is possible only if the atomic proposition * does not need to be updated at precise time. * * It is recommended to use tracepoints and ltl_atom_update() instead.
*/
}
staticvoid ltl_atoms_init(struct task_struct *task, struct ltl_monitor *mon, bool task_creation)
{ /* * This should initialize as many atomic propositions as possible. * * @task_creation indicates whether the task is being created. This is * false if the task is already running before the monitor is enabled.
*/
%%ATOMS_INIT%%
}
/* * 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 = ltl_monitor_init(); 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.