aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/markers.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/markers.txt')
-rw-r--r--Documentation/markers.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/markers.txt b/Documentation/markers.txt
index 295a71bc301e..d9f50a19fa0c 100644
--- a/Documentation/markers.txt
+++ b/Documentation/markers.txt
@@ -35,12 +35,14 @@ In order to use the macro trace_mark, you should include linux/marker.h.
35 35
36And, 36And,
37 37
38trace_mark(subsystem_event, "%d %s", someint, somestring); 38trace_mark(subsystem_event, "myint %d mystring %s", someint, somestring);
39Where : 39Where :
40- subsystem_event is an identifier unique to your event 40- subsystem_event is an identifier unique to your event
41 - subsystem is the name of your subsystem. 41 - subsystem is the name of your subsystem.
42 - event is the name of the event to mark. 42 - event is the name of the event to mark.
43- "%d %s" is the formatted string for the serializer. 43- "myint %d mystring %s" is the formatted string for the serializer. "myint" and
44 "mystring" are repectively the field names associated with the first and
45 second parameter.
44- someint is an integer. 46- someint is an integer.
45- somestring is a char pointer. 47- somestring is a char pointer.
46 48