update
[lttv.git] / tests / kernel / marker-example.c
index 9ae10d9e47162b94882048641ec47ae8738c774e..13c49b7b9799d76755e0e9b5c243132ddc24c108 100644 (file)
@@ -19,10 +19,9 @@ static int my_open(struct inode *inode, struct file *file)
 {
        int i;
 
-       MARK(subsystem_event, "%d %s %*.*r", 123, "example string",
-               sizeof(current), __alignof__(current), current);
+       trace_mark(subsystem_event, "%d %s", 123, "example string");
        for (i=0; i<10; i++) {
-               MARK(subsystem_eventb, MARK_NOARGS);
+               trace_mark(subsystem_eventb, MARK_NOARGS);
        }
        return -EPERM;
 }
This page took 0.023268 seconds and 4 git commands to generate.