/usr/src/lttng-modules-2.5.1/instrumentation/events/README is in lttng-modules-dkms 2.5.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | * Workflow for updating patches from newer kernel:
Diff mainline/ and lttng-module/ directories.
Pull the new headers from mainline kernel to mainline/.
Copy them into lttng-modules.
Apply diff. Fix conflicts.
* Workflow to add new Tracepoint instrumentation to newer kernel,
and add support for it into LTTng:
a) instrument the kernel with new trace events headers. If you want that
instrumentation distributed, you will have to push those changes into
the upstream Linux kernel first,
b) copy those headers into lttng mainline/ directory,
c) look at a diff from other headers between mainline/ and
lttng/, and use that as a recipe to create a new lttng/
header from the mainline/ header,
d) create a new file in probes/ for the new trace event header you added,
e) add it to probes/Makefile,
f) build, make modules_install,
g) don't forget to load that new module too.
Currently, LTTng policy is to only accept headers derived from trace
event headers accepted into the Linux kernel upstream for tracepoints
related to upstream kernel instrumentation.
|