Update instrumentation/events README file
[lttng-modules.git] / instrumentation / events / README
CommitLineData
adf75200 1* Workflow for updating patches from newer kernel:
f62b389e 2
ae3dd5f0 3Diff mainline/ and lttng-module/ directories.
f62b389e
MD
4
5Pull the new headers from mainline kernel to mainline/.
ae3dd5f0
MD
6Copy them into lttng-modules.
7Apply diff. Fix conflicts.
adf75200
MD
8
9
10* Workflow to add new Tracepoint instrumentation to newer kernel,
11 and add support for it into LTTng:
12
13a) instrument the kernel with new trace events headers. If you want that
14 instrumentation distributed, you will have to push those changes into
15 the upstream Linux kernel first,
16b) copy those headers into lttng mainline/ directory,
17c) look at a diff from other headers between mainline/ and
18 lttng/, and use that as a recipe to create a new lttng/
19 header from the mainline/ header,
20d) create a new file in probes/ for the new trace event header you added,
21e) add it to probes/Makefile,
22f) build, make modules_install,
23g) don't forget to load that new module too.
24
25Currently, LTTng policy is to only accept headers derived from trace
26event headers accepted into the Linux kernel upstream for tracepoints
27related to upstream kernel instrumentation.
This page took 0.025255 seconds and 4 git commands to generate.