Deterministic Automata Instrumentation

The RV monitor file created by dot2k, with the name “$MODEL_NAME.c” includes a section dedicated to instrumentation.

In the example of the wip.dot monitor created on [1], it will look like:

/*
 * 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.
 *
 */
static void handle_preempt_disable(void *data, /* XXX: fill header */)
{
      da_handle_event_wip(preempt_disable_wip);
}

static void handle_preempt_enable(void *data, /* XXX: fill header */)
{
      da_handle_event_wip(preempt_enable_wip);
}

static void handle_sched_waking(void *data, /* XXX: fill header */)
{
      da_handle_event_wip(sched_waking_wip);
}

static int enable_ enpaatrampolia

    
  :
  • Userspace API