Re: [PATCH V7 11/16] Documentation/rv: Add deterministic automata instrumentation documentation

From: Steven Rostedt
Date: Tue Jul 26 2022 - 12:31:59 EST


On Mon, 25 Jul 2022 22:11:23 +0200
Daniel Bristot de Oliveira <bristot@xxxxxxxxxx> wrote:

> +++ b/Documentation/trace/rv/da_monitor_instrumentation.rst
> @@ -0,0 +1,171 @@


> +Finally, the "handle_sched_waking()" will look like::
> +
> + void handle_sched_waking(void *data, struct task_struct *task)
> + {
> + da_handle_event_wip(sched_waking_wip);
> + }
> +
> +And the explanation is left for the reader as an exercise.
> +
> +enable and disable functions
> +------------------------

The doc processing requires that the '-' count matches the above string
count. And you may want to capitalize the first letter:

Enable and disable functions
----------------------------

-- Steve

> +
> +dot2k automatically creates two special functions::
> +
> + enable_$(MONITOR_NAME)()
> + disable_$(MONITOR_NAME)()
> +