Using Markers

What are markers?

Here is some text taken from the kernel documentation that describes markers:

What does a marker in kernel code look like?

#include <linux/marker.h>
//...
int kernel_function(int mask)
{
        trace_mark(kernel_function_entry, "mask %d", mask);
        //...
}