userspace markers initial code
[lttv.git] / markers-userspace / marker-lib.c
CommitLineData
99c5a086 1
2#include "marker.h"
3
4/**
5 * __mark_empty_function - Empty probe callback
6 * @probe_private: probe private data
7 * @call_private: call site private data
8 * @fmt: format string
9 * @...: variable argument list
10 *
11 * Empty callback provided as a probe to the markers. By providing this to a
12 * disabled marker, we make sure the execution flow is always valid even
13 * though the function pointer change and the marker enabling are two distinct
14 * operations that modifies the execution flow of preemptible code.
15 */
16void __mark_empty_function(void *probe_private, void *call_private,
17 const char *fmt, va_list *args)
18{
19}
20
21/*
22 * marker_probe_cb Callback that prepares the variable argument list for probes.
23 * @mdata: pointer of type struct marker
24 * @call_private: caller site private data
25 * @fmt: format string
26 * @...: Variable argument list.
27 *
28 */
29void marker_probe_cb(const struct marker *mdata, void *call_private,
30 const char *fmt, ...)
31{
32
33
34}
This page took 0.02282 seconds and 4 git commands to generate.