From: Mathieu Desnoyers Date: Sat, 25 Feb 2017 08:33:42 +0000 (+0100) Subject: update event README X-Git-Tag: v2.10.0-rc1~24 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9791246c35a278b490086feb9d1194310468426e;p=lttng-modules.git update event README Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/README b/instrumentation/events/README index 84c3e893..fc3cd6e2 100644 --- a/instrumentation/events/README +++ b/instrumentation/events/README @@ -1,10 +1,7 @@ * 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. +Pull the new headers from mainline kernel to lttng-modules/. +Update those headers to fix the lttng-modules instrumentation style. * Workflow to add new Tracepoint instrumentation to newer kernel, @@ -13,10 +10,10 @@ Apply diff. Fix conflicts. 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, +b) copy those headers into lttng-modules/ directory, +c) look at a diff from other headers between mainline kernel version and + lttng-modules/, and use that as a recipe to alter the new + lttng-modules/ headers. 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,