X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=README.md;h=450f3630d582ebf63f47161e93c23cacb59fd544;hb=edfdcb685c3f56dde803244449f79ad7bed03798;hp=17553e63346d96dbbaef254eb3de3b13ebf5e509;hpb=6bb4326c067161532e0e6f3a0deec2d28b4595e8;p=lttng-modules.git diff --git a/README.md b/README.md index 17553e63..450f3630 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,19 @@ available from LTTng: - `CONFIG_KALLSYMS_ALL`: state dump of mapping between block device number and name +Customization/Extension +----------------------- + +The lttng-modules source includes definitions for the actual callback +functions that will be attached to the kernel tracepoints by lttng. +The lttng-modules project implements its own macros generating these +callbacks: the LTTNG_TRACEPOINT_EVENT macro family found in +instrumentation/events/lttng-module/. In order to show up in a +lttng-modules trace, a kernel tracepoint must be defined within the +kernel tree, and also defined within lttng-modules with the +LTTNG_TRACEPOINT_EVENT macro family. Customizations or extensions must +be done by modifying instances of these macros within the lttng-modules +source. Usage -----