From 4d46e8c0be2957758addfa997ba7cece5a5aada6 Mon Sep 17 00:00:00 2001
From: Philippe Proulx
Note:Because of a current limitation, all
channels must be created prior to beginning tracing in a
- given tracing session, i.e. before the first time you do
+ given tracing session, that is before the first time you do
diff --git a/contents/using-lttng/controlling-tracing/lttng-live.md b/contents/using-lttng/controlling-tracing/lttng-live.md
index dbe6930..ef6c9af 100644
--- a/contents/using-lttng/controlling-tracing/lttng-live.md
+++ b/contents/using-lttng/controlling-tracing/lttng-live.md
@@ -72,7 +72,7 @@ babeltrace --input-format lttng-live net://localhost
Then, choose a tracing session and start viewing events as they arrive
-using LTTng live, e.g.:
+using LTTng live:
lttng start
.
babeltrace --input-format lttng-live net://localhost/host/hostname/my-session
diff --git a/contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/building-32-bit-lttng-ust.md b/contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/building-32-bit-lttng-ust.md
index 340512c..c1317cf 100644
--- a/contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/building-32-bit-lttng-ust.md
+++ b/contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/building-32-bit-lttng-ust.md
@@ -29,7 +29,7 @@ of Userspace RCU and other dependencies.
In this case, make sure to set LDFLAGS
to all the
- relevant 32-bit library paths, e.g.,
+ relevant 32-bit library paths, for example,
LDFLAGS="-L/usr/lib32 -L/usr/lib/i386-linux-gnu"
.
Note:You may add options to
- ./configure
if you need them, e.g., for
- Java and SystemTap support. Look at
+ ./configure
if you need them (for
+ Java and SystemTap support, for example). Look at
./configure --help
for more information.
For example, statically linking a tracepoint provider to a
shared object which is to be dynamically loaded by an application
- (e.g., a plugin) is not safe: the shared object, which contains the
- tracepoint provider, could be dynamically closed
+ (a plugin, for example) is not safe: the shared object, which
+ contains the tracepoint provider, could be dynamically closed
(dlclose()
) at any time by the application.
./app diff --git a/contents/using-lttng/instrumenting/c-application/defining-tracepoints.md b/contents/using-lttng/instrumenting/c-application/defining-tracepoints.md index bd6c076..3952994 100644 --- a/contents/using-lttng/instrumenting/c-application/defining-tracepoints.md +++ b/contents/using-lttng/instrumenting/c-application/defining-tracepoints.md @@ -41,8 +41,8 @@ The tracepoint name becomes the event name once events are recorded by the LTTng-UST tracer. It must follow the tracepoint provider name syntax: start with a letter and contain either letters, numbers or underscores. Two tracepoints under the same provider cannot have the -same name, i.e. you cannot overload a tracepoint like you would -overload functions and methods in C++/Java. +same name. In other words, you cannot overload a tracepoint like you +would overload functions and methods in C++/Java.Note:The concatenation of the tracepoint diff --git a/contents/using-lttng/instrumenting/c-application/tracef.md b/contents/using-lttng/instrumenting/c-application/tracef.md index b4a9428..be5aad1 100644 --- a/contents/using-lttng/instrumenting/c-application/tracef.md +++ b/contents/using-lttng/instrumenting/c-application/tracef.md @@ -34,7 +34,8 @@ where you need to insert probes: #include
The tracepoint provider is a group of tracepoint definitions; its chosen name should reflect this. A hierarchy like Java packages is recommended, -using underscores instead of dots, e.g., `org_company_project_component`. +using underscores instead of dots, for example, +`org_company_project_component`. Next is `TRACEPOINT_INCLUDE`: @@ -178,7 +179,7 @@ tracepoint definitions. How exactly this is done is out of this text's scope. in [Building/linking tracepoint providers and the user application](#doc-building-tracepoint-providers-and-user-application). You could include other header files like `tp.h` here to create the probes -of different tracepoint providers, e.g.: +of different tracepoint providers, for example: ~~~ c #define TRACEPOINT_CREATE_PROBES diff --git a/contents/using-lttng/instrumenting/instrumenting-linux-kernel/instrumenting-out-of-tree-linux-kernel.md b/contents/using-lttng/instrumenting/instrumenting-linux-kernel/instrumenting-out-of-tree-linux-kernel.md index ce1ae11..2eecabd 100644 --- a/contents/using-lttng/instrumenting/instrumenting-linux-kernel/instrumenting-out-of-tree-linux-kernel.md +++ b/contents/using-lttng/instrumenting/instrumenting-linux-kernel/instrumenting-out-of-tree-linux-kernel.md @@ -26,7 +26,7 @@ build time verification: The preferred, flexible way to include your module's mainline tracepoint definition header is to put it in a specific directory -relative to your module's root, e.g., `tracepoints`, and include it +relative to your module's root (`tracepoints`, for example) and include it relative to your module's root directory in the LTTng custom probe's source: diff --git a/contents/using-lttng/instrumenting/intro.md b/contents/using-lttng/instrumenting/intro.md index b8a8198..a75227d 100644 --- a/contents/using-lttng/instrumenting/intro.md +++ b/contents/using-lttng/instrumenting/intro.md @@ -15,8 +15,8 @@ All the previous examples have something in common: they rely on skin, cardiac monitoring would be futile. LTTng, as a tracer, is no different from the real life examples above. -If you're about to trace a software system, i.e. record its history of -execution, you better have probes in the subject you're +If you're about to trace a software system or, put in other words, record its +history of execution, you better have probes in the subject you're tracing: the actual software. Various ways were developed to do this. The most straightforward one is to manually place probes, called _tracepoints_, in the software's source code. The Linux kernel tracing diff --git a/contents/whats-new.md b/contents/whats-new.md index 471d049..d5a0006 100644 --- a/contents/whats-new.md +++ b/contents/whats-new.md @@ -16,7 +16,7 @@ commands of the `lttng` tool. LTTng-modules has supported system call tracing for a long time, but until now, it was only possible to record either all of them, or none of them. LTTng 2.6 allows the user to record specific -system call events, e.g.: +system call events, for example:~~~ -Use `tracef()` like you would use `printf()` in your source code, e.g.: +Use `tracef()` like you would use `printf()` in your source code, for +example: ~~~ c /* ... */ diff --git a/contents/using-lttng/instrumenting/c-application/tracepoint-provider.md b/contents/using-lttng/instrumenting/c-application/tracepoint-provider.md index b12b17e..ce59741 100644 --- a/contents/using-lttng/instrumenting/c-application/tracepoint-provider.md +++ b/contents/using-lttng/instrumenting/c-application/tracepoint-provider.md @@ -110,7 +110,8 @@ variables). lttng enable-event --kernel --syscall open,fork,chdir,pipe -- 2.34.1