aboutsummaryrefslogtreecommitdiffstats
path: root/samples/markers/probe-example.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2007-11-14 19:59:50 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-14 21:45:40 -0500
commitcc9f2f8f68efcc73d8793a4df2c4c50196e90080 (patch)
tree7da05db63c83c8e9b05fc9d75e64b229bc6a7fb4 /samples/markers/probe-example.c
parent5f9468cebfdb7b809139e7682d388f9c31297936 (diff)
Linux Kernel Markers: fix samples to follow format string standard
Add the field names to marker example format string. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples/markers/probe-example.c')
-rw-r--r--samples/markers/probe-example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/markers/probe-example.c b/samples/markers/probe-example.c
index 238b2e384fc8..a36797535615 100644
--- a/samples/markers/probe-example.c
+++ b/samples/markers/probe-example.c
@@ -53,7 +53,7 @@ void probe_subsystem_eventb(const struct marker *mdata, void *private,
53static struct probe_data probe_array[] = 53static struct probe_data probe_array[] =
54{ 54{
55 { .name = "subsystem_event", 55 { .name = "subsystem_event",
56 .format = "%d %s", 56 .format = "integer %d string %s",
57 .probe_func = probe_subsystem_event }, 57 .probe_func = probe_subsystem_event },
58 { .name = "subsystem_eventb", 58 { .name = "subsystem_eventb",
59 .format = MARK_NOARGS, 59 .format = MARK_NOARGS,