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