diff options
Diffstat (limited to 'samples/markers/marker-example.c')
-rw-r--r-- | samples/markers/marker-example.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/markers/marker-example.c b/samples/markers/marker-example.c index e787c6d16dd7..05e438f8b4e2 100644 --- a/samples/markers/marker-example.c +++ b/samples/markers/marker-example.c | |||
@@ -19,7 +19,8 @@ static int my_open(struct inode *inode, struct file *file) | |||
19 | { | 19 | { |
20 | int i; | 20 | int i; |
21 | 21 | ||
22 | trace_mark(subsystem_event, "%d %s", 123, "example string"); | 22 | trace_mark(subsystem_event, "integer %d string %s", 123, |
23 | "example string"); | ||
23 | for (i = 0; i < 10; i++) | 24 | for (i = 0; i < 10; i++) |
24 | trace_mark(subsystem_eventb, MARK_NOARGS); | 25 | trace_mark(subsystem_eventb, MARK_NOARGS); |
25 | return -EPERM; | 26 | return -EPERM; |