lkml.org 
[lkml]   [2007]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 3/4] Linux Kernel Markers - Documentation
* Randy Dunlap (randy.dunlap@oracle.com) wrote:
> On Tue, 18 Sep 2007 17:13:27 -0400 Mathieu Desnoyers wrote:
>
> > Here is some documentation explaining what is/how to use the Linux
> > Kernel Markers.
> >
> > ---
> >
> > Documentation/markers/markers.txt | 93 +++++++++++++++++++++++++++
> > Documentation/markers/src/Makefile | 7 ++
> > Documentation/markers/src/marker-example.c | 55 ++++++++++++++++
> > Documentation/markers/src/probe-example.c | 98 +++++++++++++++++++++++++++++
> > 4 files changed, 253 insertions(+)
> >
> > Index: linux-2.6-lttng/Documentation/markers/markers.txt
> > ===================================================================
> > --- /dev/null 1970-01-01 00:00:00.000000000 +0000
> > +++ linux-2.6-lttng/Documentation/markers/markers.txt 2007-09-07 09:17:45.000000000 -0400
> > @@ -0,0 +1,93 @@
>
> > +The marker mechanism supports inserting multiple instances of the same marker.
> > +Markers can be put in inline functions, inlined static functions, and
> > +unrolled loops.
>
> as well as regular functions ?
>

Oh, yes, forgot the trivial case ;)

> > +* Probe / marker example
> > +
> > +See the example provided in Documentation/markers/markers/src
>
> drop one of ^^^ "markers/"
>

Ok.

Will fix, thanks!

Mathieu

> > +Run, as root :
> > +
> > +make
> > +insmod marker-example.ko (insmod order is not important)
> > +insmod probe-example.ko
> > +cat /proc/marker-example (returns an expected error)
> > +rmmod marker-example probe-example
> > +dmesg
>
>
> ---
> ~Randy
> *** Remember to use Documentation/SubmitChecklist when testing your code ***

--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-19 13:21    [W:0.275 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site