X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=Documentation%2Fmarkers.txt;h=d9f50a19fa0c48185968e875aa2c9163bae3e6fa;hb=2f90a851800e88436873c8d27238cf219b9ef48e;hp=295a71bc301ebb067fbf7d2ee6770e14426c063a;hpb=26790656d7dc34206f78eeca0f4be5caede788ce;p=linux-2.6-omap-h63xx.git diff --git a/Documentation/markers.txt b/Documentation/markers.txt index 295a71bc301..d9f50a19fa0 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. And, -trace_mark(subsystem_event, "%d %s", someint, somestring); +trace_mark(subsystem_event, "myint %d mystring %s", someint, somestring); Where : - subsystem_event is an identifier unique to your event - subsystem is the name of your subsystem. - event is the name of the event to mark. -- "%d %s" is the formatted string for the serializer. +- "myint %d mystring %s" is the formatted string for the serializer. "myint" and + "mystring" are repectively the field names associated with the first and + second parameter. - someint is an integer. - somestring is a char pointer.