Remove unneeded "will"s + minor fixes
[lttng-docs.git] / contents / using-lttng / instrumenting / instrumenting-linux-kernel / instrumenting-linux-kernel-itself / intro.md
CommitLineData
5e0cbfb0
PP
1---
2id: instrumenting-linux-kernel-itself
3---
4
5This section explains strictly how to add custom LTTng
6instrumentation to the Linux kernel. It does not explain how the
7macros actually work and the internal mechanics of the tracer.
8
9You should have a Linux kernel source code tree to work with.
10Throughout this section, all file paths are relative to the root of
11this tree unless otherwise stated.
12
47bfcb75 13You need a copy of the LTTng-modules Git repository:
5e0cbfb0
PP
14
15<pre class="term">
16git clone git://git.lttng.org/lttng-modules.git
17</pre>
18
19The steps to add custom LTTng instrumentation to a Linux kernel
20involves defining and using the mainline `TRACE_EVENT()` tracepoints
21first, then writing and using the LTTng adaptation layer.
This page took 0.022703 seconds and 4 git commands to generate.