[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070216013219.GB12736@Krystal>
Date: Thu, 15 Feb 2007 20:32:19 -0500
From: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org,
Christoph Hellwig <hch@...radead.org>,
Ingo Molnar <mingo@...hat.com>, systemtap@...rces.redhat.com,
ltt-dev@...fik.org
Subject: Re: [PATCH 00/05] Linux Kernel Markers - kernel 2.6.20
* Andrew Morton (akpm@...ux-foundation.org) wrote:
> On Sun, 11 Feb 2007 15:03:22 -0500 Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca> wrote:
>
> > You will find, in the following posts, the latest revision of the Linux Kernel
> > Markers.
>
> <looks for the documentation>
>
I guess the header of include/linux/marker.h should go into
Documentation/marker.txt. Will fix. Will be in the next reply.
> And what can I do with these markers?
>
You can put markers at important locations in the code. They act as
lightweight hooks that can pass an abitrary number of parameters,
described in a printk-like format string, to a function.
They can be used for tracing (LTTng, LKET over SystemTAP), overall
performance accounting (SystemTAP). They could also be used to implement
efficient hooks for SELinux or any other subsystem the would have this
kind of need.
> And once I've done it, are there any userspace applications I can use to
> get the data out in human-usable form?
>
LTTng and LTTV, SystemTAP (should be updated to the new API).
> It seems to me that these patches aren't sequenced correctly - the kernel won't
> build at each step of the patch sequence. Maybe I'm mistaken in that. We prefer
> it this way so that people don't hit wont-compile points when doing bisection searches.
Will fix for the next complete post.
Mathieu
--
Mathieu Desnoyers
Computer Engineering Ph.D. Candidate, 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists