Remove unneeded "will"s + minor fixes
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 4 Sep 2015 01:49:31 +0000 (21:49 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 4 Sep 2015 15:56:03 +0000 (11:56 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
40 files changed:
contents/getting-started/intro.md
contents/getting-started/tracing-the-linux-kernel.md
contents/getting-started/tracing-your-own-user-application.md
contents/getting-started/viewing-and-analyzing.md
contents/installing-lttng/building-from-source.md
contents/installing-lttng/desktop-distributions/debian.md
contents/installing-lttng/desktop-distributions/opensuse.md
contents/installing-lttng/desktop-distributions/ubuntu/intro.md
contents/understanding-lttng/core-concepts/channel/channel-buffering-schemes.md
contents/understanding-lttng/core-concepts/channel/channel-overwrite-mode-vs-discard-mode.md
contents/understanding-lttng/core-concepts/channel/channel-subbuf-size-vs-subbuf-count.md
contents/understanding-lttng/core-concepts/channel/intro.md
contents/understanding-lttng/core-concepts/event.md
contents/understanding-lttng/plumbing/lttng-relayd.md
contents/understanding-lttng/plumbing/lttng-sessiond.md
contents/using-lttng/controlling-tracing/basic-tracing-session-control.md
contents/using-lttng/controlling-tracing/creating-destroying-tracing-sessions.md
contents/using-lttng/controlling-tracing/enabling-disabling-channels/fine-tuning-channels.md
contents/using-lttng/controlling-tracing/enabling-disabling-channels/intro.md
contents/using-lttng/controlling-tracing/enabling-disabling-events.md
contents/using-lttng/controlling-tracing/lttng-live.md
contents/using-lttng/controlling-tracing/mi.md
contents/using-lttng/controlling-tracing/saving-loading-tracing-session.md
contents/using-lttng/controlling-tracing/sending-trace-data-over-the-network.md
contents/using-lttng/controlling-tracing/taking-a-snapshot.md
contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/building-32-bit-lttng-tools.md
contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/building-64-bit-lttng-tools.md
contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/building-instrumented-32-bit-c-application.md
contents/using-lttng/instrumenting/advanced-techniques/32-bit-on-64-bit/intro.md
contents/using-lttng/instrumenting/c-application/building-linking/dynamic-linking.md
contents/using-lttng/instrumenting/c-application/building-linking/intro.md
contents/using-lttng/instrumenting/c-application/building-linking/lttng-ust-pkg-config.md
contents/using-lttng/instrumenting/c-application/defining-tracepoints.md
contents/using-lttng/instrumenting/c-application/lttng-gen-tp.md
contents/using-lttng/instrumenting/c-application/tracepoint-provider.md
contents/using-lttng/instrumenting/c-application/using-tracepoint-classes.md
contents/using-lttng/instrumenting/instrumenting-linux-kernel/instrumenting-linux-kernel-itself/instrumenting-linux-kernel-tracing.md
contents/using-lttng/instrumenting/instrumenting-linux-kernel/instrumenting-linux-kernel-itself/intro.md
contents/using-lttng/instrumenting/instrumenting-linux-kernel/instrumenting-linux-kernel-itself/mainline-trace-event.md
contents/using-lttng/instrumenting/intro.md

index 26b69d1621b6d65aed7ab36d4853894ab7beb865..acd95ee885cfdd32c3ac42261c5a658537533750 100644 (file)
@@ -8,11 +8,12 @@ thorough understanding of LTTng, see [Using LTTng](#doc-using-lttng) and
 [Understanding LTTng](#doc-understanding-lttng).
 
 Before reading this guide, make sure LTTng
-[is installed](#doc-installing-lttng). You will at least need
-LTTng-tools. Also install LTTng-modules for
+[is installed](#doc-installing-lttng). You need LTTng-tools. Also install
+LTTng-modules for
 [tracing the Linux kernel](#doc-tracing-the-linux-kernel) and LTTng-UST
 for
 [tracing your own user space applications](#doc-tracing-your-own-user-application).
 When your traces are finally written and complete, the
 [Viewing and analyzing your traces](#doc-viewing-and-analyzing-your-traces)
-section of this chapter will help you analyze your tracepoint events to investigate.
+section of this chapter will help you analyze your tracepoint events
+to investigate.
index 2a5eb74277dcd4b051eb28e442e9a9a39a069fe5..c7522e2ebe8298602987038e7c2ac9ecb22c07e0 100644 (file)
@@ -29,7 +29,7 @@ sudo lttng create my-session
 </div>
 
 `my-session` is the tracing session name and could be anything you
-like. `auto` will be used if omitted.
+like. `auto` is used if omitted.
 
 Let's now enable some events for this session:
 
@@ -38,7 +38,7 @@ sudo lttng enable-event --kernel sched_switch,sched_process_fork
 </pre>
 
 or you might want to simply enable all available kernel events (beware
-that trace files will grow rapidly when doing this):
+that trace files grow rapidly when doing this):
 
 <pre class="term">
 sudo lttng enable-event --kernel --all
index a07120392ae1fa4f4cf16168a4457d2579a54ed0..71ac5e8661c0219d36a000aef12618219739b792 100644 (file)
@@ -19,7 +19,7 @@ know the types of its arguments: the formats of all tracepoints must be
 defined before using them. So before even writing our _Hello world_ program,
 we need to define the format of our tracepoint. This is done by writing a
 **template file**, with a name usually ending with the `.tp` extension (for **t**race**p**oint),
-which the `lttng-gen-tp` tool (shipped with LTTng-UST) will use to generate
+which the `lttng-gen-tp` tool (shipped with LTTng-UST) uses to generate
 an object file (along with a `.c` file) and a header to be included in our application source code.
 
 Here's the whole flow:
@@ -31,7 +31,7 @@ Here's the whole flow:
 </div>
 
 The template file format is a list of tracepoint definitions
-and other optional definition entries which we will skip for
+and other optional definition entries which we skip for
 this quickstart. Each tracepoint is defined using the
 `TRACEPOINT_EVENT()` macro. For each tracepoint, you must provide:
 
@@ -41,8 +41,8 @@ this quickstart. Each tracepoint is defined using the
   * a **list of arguments** for the eventual `tracepoint()` call, each item being:
     * the argument C type
     * the argument name
-  * a **list of fields**, which will be the actual fields of the recorded events
-    for this tracepoint
+  * a **list of fields**, which correspond to the actual fields of the
+    recorded events for this tracepoint
 
 Here's a simple tracepoint definition example with two arguments: an integer
 and a string:
@@ -73,7 +73,7 @@ Save the above snippet as `hello-tp.tp` and run:
 lttng-gen-tp hello-tp.tp
 </pre>
 
-The following files will be created next to `hello-tp.tp`:
+The following files are created next to `hello-tp.tp`:
 
   * `hello-tp.c`
   * `hello-tp.o`
@@ -139,7 +139,7 @@ gcc -o hello hello.c <strong>hello-tp.o -llttng-ust -ldl</strong>
 
 If you followed the
 [Tracing the Linux kernel](#doc-tracing-the-linux-kernel) section, the
-following steps will look familiar.
+following steps should look familiar.
 
 First, run the application with a few arguments:
 
@@ -182,7 +182,7 @@ lttng start
 </pre>
 
 Go back to the running `hello` application and press Enter. All `tracepoint()`
-calls will be executed and the program will finally exit.
+calls are executed and the program finally exits.
 
 Stop tracing:
 
index 5485093b77a59be25651601b412191340ebf3612..634f3d3f830ba16ee1ec8de4597672f48b13a797 100644 (file)
@@ -33,8 +33,8 @@ path to `babeltrace` with no options:
 babeltrace ~/lttng-traces/my-session
 </pre>
 
-`babeltrace` will find all traces within the given path recursively and
-output all their events, merging them intelligently.
+`babeltrace` finds all traces within the given path recursively and
+prints all their events, merging them in order of time.
 
 Listing all the system calls of a Linux kernel trace with their arguments is
 easy with `babeltrace` and `grep`:
index 79f294feb5b70b8fce2cb34907c71d510c696498..580ebd125287616bfd1a33da60696d910d2febbc 100644 (file)
@@ -24,9 +24,9 @@ are rendered as rich text when
 </div>
 
 If you're using Ubuntu, executing the following Bash script
-will install the appropriate dependencies, clone the LTTng
-Git repositories, build the projects, and install them. The sources will
-be cloned into `~/src`. Your user needs to be a sudoer for the install
+installs the appropriate dependencies, clone the LTTng
+Git repositories, build the projects, and install them. The sources
+are cloned into `~/src`. Your user needs to be a sudoer for the install
 steps to be completed.
 
 ~~~ text
index 2776a8e085a558343111aafc890086b3658aa443..fee248f4f312dff79c028788f54b09dc036ddb3d 100644 (file)
@@ -2,7 +2,7 @@
 id: debian
 ---
 
-Debian wheezy (stable) and previous versions are not supported; you will
+Debian wheezy (stable) and previous versions are not supported; you
 need to build and install LTTng packages
 [from source](#doc-building-from-source) for those.
 
index b1d0f99b40364e32a8fb460fd2b5d44ecefd5a67..57c0d9f5684b5641789f76939b41b6f9b1a9b3b9 100644 (file)
@@ -6,7 +6,7 @@ openSUSE has had LTTng packages since version 12.3. To install LTTng, you
 first need to add an entry to your repository configuration. All LTTng repositories
 are available
 <a href="http://download.opensuse.org/repositories/devel:/tools:/lttng/" class="ext">here</a>.
-For example, the following commands will add the LTTng repository for
+For example, the following commands adds the LTTng repository for
 openSUSE&nbsp;13.1:
 
 <pre class="term">
index ab0c14f92d4ed68d20b25c51143b090a78f7e31e..57f97c076e403e905e563bb0329c7c616ee234d0 100644 (file)
@@ -3,7 +3,7 @@ id: ubuntu
 ---
 
 The following steps apply to Ubuntu&nbsp;&ge;&nbsp;12.04. For
-previous releases, you will need to build and install LTTng
+previous releases, you need to build and install LTTng
 [from source](#doc-building-from-source), as no Ubuntu packages were
 available before version 12.04.
 
index 3b0c610145c813d8b5b6c8fde36658817590dbe2..e6b87d096d5e45fc806f5f2d4ddac9f4ec2f4779 100644 (file)
@@ -9,7 +9,7 @@ available when creating a channel:
   * **Per-UID buffering**: keep one ring buffer for all processes of
     a single user.
 
-The per-PID buffering scheme will consume more memory than the per-UID
+The per-PID buffering scheme consumes more memory than the per-UID
 option if more than one process is instrumented for LTTng-UST. However,
 per-PID buffering ensures that one process having a high event
 throughput won't fill all the shared sub-buffers, only its own.
index 2879bf27a0cb717e8e7d8a7af46da119256d77c6..53d799b644f27df866a9a92262bfd9267d161426 100644 (file)
@@ -9,7 +9,7 @@ As events occur, they are serialized as trace data into a specific
 sub-buffer (yellow arc in the following animation) until it is full:
 when this happens, the sub-buffer is marked as consumable (red) and
 another, _empty_ (white) sub-buffer starts receiving the following
-events. The marked sub-buffer will be consumed eventually by a consumer
+events. The marked sub-buffer is eventually consumed by a consumer
 daemon (returns to white).
 
 <script type="text/javascript">
@@ -70,7 +70,7 @@ Beware that, in overwrite mode, a whole sub-buffer is abandoned as soon
 as a new event doesn't find an empty sub-buffer, whereas in discard
 mode, only the event that doesn't fit is discarded.
 
-Also note that a count of lost events will be incremented and saved in
+Also note that a count of lost events is incremented and saved in
 the trace itself when an event is lost in discard mode, whereas no
 information is kept when a sub-buffer gets overwritten before being
 committed.
index 45fdecb3df349e25ee2e479915ec6de2aa9d7045..b78242bf265e4c4cb45e5e05726294ae76e0b6bf 100644 (file)
@@ -12,11 +12,11 @@ the following list presents a few practical situations along with how
 to configure sub-buffers for them:
 
   * **High event throughput**: in general, prefer bigger sub-buffers to
-    lower the risk of losing events. Having bigger sub-buffers will
-    also ensure a lower sub-buffer switching frequency. The number of
-    sub-buffers is only meaningful if the channel is in overwrite mode:
-    in this case, if a sub-buffer overwrite happens, you will still have
-    the other sub-buffers left unaltered.
+    lower the risk of losing events. Having bigger sub-buffers
+    also ensures a lower sub-buffer switching frequency. The number of
+    sub-buffers is only meaningful if the channel is enabled in
+    overwrite mode: in this case, if a sub-buffer overwrite happens, the
+    other sub-buffers are left unaltered.
   * **Low event throughput**: in general, prefer smaller sub-buffers
     since the risk of losing events is already low. Since events
     happen less frequently, the sub-buffer switching frequency should
index b7b51a7c088e7a9b550229e33c23845845308f42..aa63e0586958a6cc7dc5a33ec28c9aadb6b77904 100644 (file)
@@ -5,11 +5,11 @@ id: channel
 A _channel_ is a set of events with specific parameters and potential
 added context information. Channels have unique names per domain within
 a tracing session. A given event is always registered to at least one
-channel; having an enabled event in two channels will produce a trace
-with this event recorded twice everytime it occurs.
+channel; having the same enabled event in two channels makes
+this event being recorded twice everytime it occurs.
 
 Channels may be individually enabled or disabled. Occurring events of
-a disabled channel will never make it to recorded events.
+a disabled channel never make it to recorded events.
 
 The fundamental role of a channel is to keep a shared ring buffer, where
 events are eventually recorded by the tracer and consumed by a consumer
index 3a632d5cb4d841375bd893d76d828aa26770e8b3..2154bfcb56f15dc69a4326b7b7706fdfcff359fb 100644 (file)
@@ -21,8 +21,7 @@ having multiple definitions depending on the context:
 The whole [Core concepts](#doc-core-concepts) section focuses on the
 third definition. An event is always registered to _one or more_
 channels and may be enabled or disabled at will per channel. A disabled
-event will never lead to a recorded event, even if its channel
-is enabled.
+event never leads to a recorded event, even if its channel is enabled.
 
 An event (3) is enabled with a few conditions that must _all_ be met
 when an event (1) happens in order to generate a recorded event (2):
index 5ee4153d7f79c2500df9fd6ea33c1c9e35b08362..b9eed035470fb90b497b33bf17823849c63fbe43 100644 (file)
@@ -27,6 +27,6 @@ host operating system's bitness.
 
 The other important feature of LTTng's relay daemon is the support of
 _LTTng live_. LTTng live is an application protocol to view events as
-they arrive. The relay daemon will still record events in trace files,
-but a _tee_ may be created to inspect incoming events. Using LTTng live
+they arrive. The relay daemon still records events in trace files,
+but a _tee_ allows to inspect incoming events. Using LTTng live
 locally thus requires to run a local relay daemon.
index f96462294dc95b1b543d569e69254b6142c230f5..a1bb7f2ed8f64396285977932945221a3875937a 100644 (file)
@@ -61,7 +61,7 @@ session daemon. `lttng-sessiond` may also be started manually:
 lttng-sessiond
 </pre>
 
-This will start the session daemon in foreground. Use
+This starts the session daemon in foreground. Use
 
 <pre class="term">
 lttng-sessiond --daemonize
@@ -75,7 +75,7 @@ To kill the current user's session daemon, `pkill` may be used:
 pkill lttng-sessiond
 </pre>
 
-The default `SIGTERM` signal will terminate it cleanly.
+The default `SIGTERM` signal terminates it cleanly.
 
 Several other options are available and described in
 <a href="/man/8/lttng-sessiond" class="ext"><code>lttng-sessiond</code>'s manpage</a>
index d23c94dc121ac7dfb7f395d4521166d14298f03f..0955e7ebb60848a3f326a6b854288b9880919cbb 100644 (file)
@@ -19,8 +19,8 @@ lttng stop
 </pre>
 
 LTTng is very flexible: user space applications may be launched before
-or after the tracers are started. Events will only be recorded if they
-are properly enabled and if they occur while tracers are started.
+or after the tracers are started. Events are only recorded if they
+are properly enabled and if they occur while tracers are active.
 
 A tracing session name may be passed to both the `start` and `stop`
 commands to start/stop tracing a session other than the current one.
index e7d173bb0f4a14f4af65ab7f1a9cd7f1621242c1..e92dbafbe70cc63669b74f2cfe4de4f36d6e856e 100644 (file)
@@ -31,9 +31,10 @@ To create a tracing session, do:
 lttng create my-session
 </pre>
 
-This will create a new tracing session named `my-session` and make it
-the current one. If you don't specify any name (calling only
-`lttng create`), your tracing session will be named `auto`. Traces
+This creates a new tracing session named `my-session` and make it
+the current one. If you don't specify a name (running only
+`lttng create`), your tracing session is named `auto` followed by the
+current date and time. Traces
 are written in <code>~/lttng-traces/<em>session</em>-</code> followed
 by the tracing session's creation date/time by default, where
 <code><em>session</em></code> is the tracing session name. To save them
@@ -76,8 +77,8 @@ command:
 lttng destroy my-session
 </pre>
 
-Providing no argument to `lttng destroy` will destroy the current
-tracing session. Destroying a tracing session will stop any tracing
+Providing no argument to `lttng destroy` destroys the current
+tracing session. Destroying a tracing session stops any tracing
 running within the latter. Destroying a tracing session frees resources
 acquired by the session daemon and tracer side, making sure to flush
 all trace data.
index c0267cf84d4d71f2f31b59ac9512502f21e53e00..9682cd49c4ee76f5326ef74c68bad63fe6788125 100644 (file)
@@ -46,7 +46,7 @@ Two other interesting available parameters of `enable-channel` are
 `--tracefile-size` and `--tracefile-count`, which respectively limit
 the size of each trace file and the their count for a given channel.
 When the number of written trace files reaches its limit for a given
-channel-CPU pair, the next trace file will overwrite the very first
+channel-CPU pair, the next trace file overwrites the very first
 one. The following example creates a kernel domain channel with a
 maximum of three trace files of 1&nbsp;MiB each:
 
index a6b884e5b280ceda256bb6413e23ccbc98e96cc9..f96614911fb315d1123c9cce5cb26b94cf9d92b6 100644 (file)
@@ -31,7 +31,7 @@ To create and enable a channel, use the `enable-channel` command:
 lttng enable-channel --kernel my-channel
 </pre>
 
-This will create a kernel domain channel named `my-channel` with
+This creates a kernel domain channel named `my-channel` with
 default parameters in the current tracing session.
 
 <div class="tip">
@@ -61,7 +61,7 @@ lttng enable-channel --userspace --session other-session --overwrite \
                      --tracefile-size 1048576 1mib-channel
 </pre>
 
-This will create a user space domain channel named `1mib-channel` in
+This creates a user space domain channel named `1mib-channel` in
 the tracing session named `other-session` that loses new events by
 overwriting previously recorded events (instead of the default mode of
 discarding newer ones) and saves trace files with a maximum size of
@@ -85,8 +85,8 @@ lttng enable-event --userspace --channel my-channel app:tp
 lttng enable-event --userspace --channel other-channel app:tp
 </pre>
 
-If both channels are enabled, the occurring `app:tp` event will
-generate two recorded events, one for each channel.
+If both channels are enabled, the occurring `app:tp` event
+generates two recorded events, one for each channel.
 
 Disabling a channel is done with the `disable-event` command:
 
index 5701543197730d05faeaccace3b9626e9d222607..e41a9336716fd4685c9183da12718c6354ad9b7c 100644 (file)
@@ -139,7 +139,7 @@ Disabling an event does not add it to some blacklist: it simply removes
 it from its channel's whitelist. This is why you cannot disable an event
 which wasn't previously enabled.
 
-A disabled event will not generate any trace data, even if all its
+A disabled event doesn't generate any trace data, even if all its
 specified conditions are met.
 
 Events may be enabled and disabled at will, either when LTTng tracers
index 1f932f58ba2b4f622d7cf6fa8007fd6fad2730d4..dbe69309e6a89e53b3283284684c159c187dbd51 100644 (file)
@@ -14,9 +14,8 @@ _LTTng live_.
 
 LTTng live is implemented, in LTTng, solely on the relay daemon side.
 As trace data is sent over the network to a relay daemon by a (possibly
-remote) consumer daemon, a _tee_ may be created: trace data will be
-recorded to trace files _as well as_ being transmitted to a
-connected live viewer:
+remote) consumer daemon, a _tee_ is created: trace data is recorded to
+trace files _as well as_ being transmitted to a connected live viewer:
 
 <div class="img img-90">
     <object data="/images/docs26/lttng-live-relayd.svg" type="image/svg+xml">
@@ -31,18 +30,18 @@ mode on the target system:
 lttng create --live
 </pre>
 
-An optional parameter may be passed to `--live` to set the interval
-of time (in microseconds) between flushes to the network
-(1&nbsp;second is the default):
+An optional parameter may be passed to `--live` to set the period
+(in microseconds) between flushes to the network
+(1&nbsp;second is the default). With:
 
 <pre class="term">
 lttng create --live 100000
 </pre>
 
-will flush every 100&nbsp;ms.
+the daemons flush their data every 100&nbsp;ms.
 
 If no network output is specified to the `create` command, a local
-relay daemon will be spawned. In this very common case, viewing a live
+relay daemon is spawned. In this very common case, viewing a live
 trace is easy: enable events and start tracing as usual, then use
 `lttng view` to start the default live viewer:
 
@@ -50,7 +49,7 @@ trace is easy: enable events and start tracing as usual, then use
 lttng view
 </pre>
 
-The correct arguments will be passed to the live viewer so that it
+The correct arguments are passed to the live viewer so that it
 may connect to the local relay daemon and start reading live events.
 
 You may also wish to use a live viewer not running on the target
index 9557e9bd906af5c40a286c1d9ceba1f2d898f3f7..7092824718c1003efb0af840fac24c01aef70290 100644 (file)
@@ -4,7 +4,7 @@ id: mi
 
 The `lttng` tool aims at providing a command output as human-readable as
 possible. While this output is easy to parse by a human being, machines
-will have a hard time.
+have a hard time.
 
 This is why the `lttng` tool provides the general `--mi` option, which
 must specify a machine interface output format. As of the latest
index 5f8e928e68f2a69d2c5b1dce42214abdd37e0812..e6a67146e2950d2fa08ef22c49de709b85ef04d3 100644 (file)
@@ -43,5 +43,5 @@ or, if you used a custom path:
 lttng load --input-path /path/to/my-session.lttng
 </pre>
 
-Your saved tracing session will be restored as if you just configured
+Your saved tracing session is restored as if you just configured
 it manually.
index 1e1b2c2a02dc54415131de87d0bfdc92badf1129..68335e521a610c823d38cc94538f77fc6d35cd9f 100644 (file)
@@ -12,13 +12,13 @@ relay daemon.
 The relay daemon listens on two different TCP ports: one for control
 information and the other for actual trace data.
 
-Starting the relay daemon on the remote machine is as easy as:
+Starting the relay daemon on the remote machine is easy:
 
 <pre class="term">
 lttng-relayd
 </pre>
 
-This will make it listen to its default ports: 5342 for control and
+This makes it listen to its default ports: 5342 for control and
 5343 for trace data. The `--control-port` and `--data-port` options may
 be used to specify different ports.
 
@@ -38,12 +38,13 @@ lttng create my-session --set-url net://distant-host
 </pre>
 
 The URL format is described in the output of `lttng create --help`.
-The above example will use the default ports; the `--ctrl-url` and
+The above example uses the default ports; the `--ctrl-url` and
 `--data-url` options may be used to set the control and data URLs
 individually.
 
 Once this basic setup is completed and the connection is established,
 you may use the `lttng` tool on the target machine as usual; everything
-you do will be transparently forwarded to the remote machine if needed.
-For example, a parameter changing the maximum size of trace files will
-have an effect on the distant relay daemon actually writing the trace.
+you do is transparently forwarded to the remote machine if needed.
+For example, a parameter changing the maximum size of trace files
+only has an effect on the distant relay daemon actually writing
+the trace.
index c7565d84be0f6f87d38779366630f299cd5ee41b..0a4ccf3cd1beb44a1140f9e0a94e03db18b9b550 100644 (file)
@@ -17,7 +17,7 @@ events with the newest. At any time, either when the tracers are started
 or stopped, you may take a snapshot of those sub-buffers.
 
 There is no difference between the format of a normal trace file and the
-format of a snapshot: viewers of LTTng traces will also support LTTng
+format of a snapshot: viewers of LTTng traces also support LTTng
 snapshots. By default, snapshots are written to disk, but they may also
 be sent over the network.
 
@@ -28,7 +28,7 @@ lttng create --snapshot my-snapshot-session
 </pre>
 
 Next, enable channels, events and add context to channels as usual.
-Once a tracing session is created in snapshot mode, channels will be
+Once a tracing session is created in snapshot mode, channels are
 forced to use the
 [overwrite](#doc-channel-overwrite-mode-vs-discard-mode) mode
 (`--overwrite` option of the `enable-channel` command; also called
@@ -41,7 +41,7 @@ Start tracing. When you're ready to take a snapshot, do:
 lttng snapshot record --name my-snapshot
 </pre>
 
-This will record a snapshot named `my-snapshot` of all channels of
+This records a snapshot named `my-snapshot` of all channels of
 all domains of the current tracing session. By default, snapshots files
 are recorded in the path returned by `lttng snapshot list-output`. You
 may change this path or decide to send snapshots over the network
@@ -66,5 +66,5 @@ taking it with the `--max-size` option:
 lttng snapshot record --name my-snapshot --max-size 2M
 </pre>
 
-Older recorded events will be discarded in order to respect this
+Older recorded events are discarded in order to respect this
 maximum size.
index 329e4e86b0ea7e0c62cb02536b98b1253ad0c838..e4bb8b1124ff72b803dcb6c9a207556abf2c0624 100644 (file)
@@ -3,7 +3,7 @@ id: building-32-bit-lttng-tools
 ---
 
 Since the host is a 64-bit system, most 32-bit binaries and libraries of
-LTTng-tools are not needed; the host will use their 64-bit counterparts.
+LTTng-tools are not needed; the host uses their 64-bit counterparts.
 The required step here is building and installing a 32-bit consumer
 daemon.
 
index c643c1ad681791b678daf5bcac7d8dc30c78b373..1ae5c1c1a32714ee573a66b2d1c62007aa6d8975 100644 (file)
@@ -16,5 +16,5 @@ sudo make install
 sudo ldconfig
 </pre>
 
-Henceforth, the 64-bit session daemon will automatically find the
+Henceforth, the 64-bit session daemon automatically finds the
 32-bit consumer daemon if required.
index aaed4c5eab14cf68a977586e4b3fcc9fbfb9bce2..8203c3727e0863e0ee2e24338293fe25b845f377 100644 (file)
@@ -21,6 +21,6 @@ gcc -o hello32 -I. <strong>-m32</strong> hello.c hello-tp.c <strong>-L/usr/lib32
     -ldl -llttng-ust <strong>-Wl,-rpath,/usr/lib32</strong>
 </pre>
 
-The `-rpath` option, passed to the linker, will make the dynamic loader
+The `-rpath` option, passed to the linker, makes the dynamic loader
 check for libraries in `/usr/lib32` before looking in its default paths,
 where it should find the 32-bit version of `liblttng-ust`.
index 3c9877c7b541d6817d8595385bd0fc08780497e7..00c2e12be77442811ef3a04dc655bf616eca297a 100644 (file)
@@ -11,9 +11,9 @@ a 32-bit application in that context.
 
 Make sure you install all 32-bit versions of LTTng dependencies.
 Their names can be found in the `README.md` files of each LTTng package
-source. How to find and install them will vary depending on your target
+source. How to find and install them depends on your target's
 Linux distribution. `gcc-multilib` is a common package name for the
-multilib version of GCC, which you will also need.
+multilib version of GCC, which you also need.
 
 The following packages will be built for 32-bit support on a 64-bit
 system: <a href="http://urcu.so/" class="ext">Userspace RCU</a>,
index aec70c690ad82cd65566e2a8ac1792974aeb3c51..468cdbfb03c51309bc3264c253eab681a144ffa3 100644 (file)
@@ -7,7 +7,7 @@ dynamic linking: the library and its member functions are explicitly
 sought, loaded and unloaded at runtime using `libdl`.
 
 It has to be noted that, for a variety of reasons, the created shared
-library will be dynamically _loaded_, as opposed to dynamically
+library is be dynamically _loaded_, as opposed to dynamically
 _linked_. The tracepoint provider shared object is, however, linked
 with `liblttng-ust`, so that `liblttng-ust` is guaranteed to be loaded
 as soon as the tracepoint provider is. If the tracepoint provider is
@@ -60,7 +60,7 @@ gcc <strong>-shared -Wl,--no-as-needed -o tp.so -llttng-ust</strong> tp.o
 </pre>
 
 As previously stated, this tracepoint provider shared object isn't
-linked with the user application: it will be loaded manually. This is
+linked with the user application: it's loaded manually. This is
 why the application is built with no mention of this tracepoint
 provider, but still needs `libdl`:
 
index 3f48212cc86039dc6b37d5adeb00a24712d238f4..cb3ad60a5ae59c41f38e60f77371fd43f98607c9 100644 (file)
@@ -12,7 +12,7 @@ header file are useless until actually used to create probes code
 This is accomplished by defining `TRACEPOINT_CREATE_PROBES` in a translation
 unit and then including the tracepoint provider header file.
 When `TRACEPOINT_CREATE_PROBES` is defined, macros used and included by
-the tracepoint provider header will output actual source code needed by any
+the tracepoint provider header produce actual source code needed by any
 application using the defined tracepoints. Defining
 `TRACEPOINT_CREATE_PROBES` produces code used when registering
 tracepoint providers when the tracepoint provider package loads.
index 285d7e67878ce6b2b3d5c6215e40b6eaf9a89ff4..70147934db682e9b1a4735ec4f5b1577b5fe9894 100644 (file)
@@ -9,7 +9,7 @@ file, so that you may use the `pkg-config` tool:
 pkg-config --libs lttng-ust
 </pre>
 
-This will return `-llttng-ust -ldl` on Linux systems.
+This prints `-llttng-ust -ldl` on Linux systems.
 
 You may also check the LTTng-UST version using `pkg-config`:
 
index e9e007d18f6a2905d5ae3faea91859250e2b1ae5..bd6c07648e90c79b7676ae0c26041b7746ffe832 100644 (file)
@@ -37,7 +37,7 @@ provider in which this tracepoint is defined
 (see [Tracepoint provider](#doc-tracepoint-provider)). In other words,
 always use the same string as the value of `TRACEPOINT_PROVIDER` above.
 
-The tracepoint name will become the event name once events are recorded
+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
@@ -47,8 +47,8 @@ overload functions and methods in C++/Java.
 <div class="tip">
 <p><span class="t">Note:</span>The concatenation of the tracepoint
 provider name and the tracepoint name cannot exceed 254 characters. If
-it does, the instrumented application will compile and run, but LTTng
-will issue multiple warnings and you could experience serious problems.</p>
+it does, the instrumented application compiles and runs, but LTTng
+issues multiple warnings and you could experience serious problems.</p>
 </div>
 
 The list of tracepoint arguments gives this tracepoint its signature:
@@ -65,16 +65,16 @@ library's `fseek()`, the `TP_ARGS()` part would look like:
     ),
 ~~~
 
-Of course, you will need to include appropriate header files before
+Of course, you need to include appropriate header files before
 the `TRACEPOINT_EVENT()` macro calls if any argument has a complex type.
 
 `TP_ARGS()` may not be omitted, but may be empty. `TP_ARGS(void)` is
 also accepted.
 
 The list of fields is where the fun really begins. The fields defined
-in this list will be the fields of the events generated by the execution
+in this list are the fields of the events generated by the execution
 of this tracepoint. Each tracepoint field definition has a C
-_argument expression_ which will be evaluated when the execution reaches
+_argument expression_ which is evaluated when the execution reaches
 the tracepoint. Tracepoint arguments _may be_ used freely in those
 argument expressions, but they _don't_ have to.
 
index 9c07a6e147f8c4b177b1d1ff806f3c9ffdba88c2..ff1c06aec997bef78709b2264ca7a08fc3bfa07b 100644 (file)
@@ -10,7 +10,7 @@ source file or a precompiled object file) with its header file.
 
 `lttng-gen-tp` should suffice in [static linking](#doc-static-linking)
 situations. When using it, write a template file containing a list of
-`TRACEPOINT_EVENT()` macro calls. The tool will find the provider names
+`TRACEPOINT_EVENT()` macro calls. The tool finds the provider names
 used and generate the appropriate files which are going to look a lot
 like `tp.h` and `tp.c` above.
 
@@ -20,7 +20,7 @@ Just call `lttng-gen-tp` like this:
 lttng-gen-tp my-template.tp
 </pre>
 
-`my-template.c`, `my-template.o` and `my-template.h` will be created
+`my-template.c`, `my-template.o` and `my-template.h` are created
 in the same directory.
 
 You may specify custom C flags passed to the compiler invoked by
index 7a4559177d9a9a92af135779afeeb70859e145cc..b12b17ed9aeb07d3e1f23748fa55440eda2399f1 100644 (file)
@@ -94,7 +94,7 @@ Let's start with the header file, `tp.h`. It begins with
 ~~~
 
 `TRACEPOINT_PROVIDER` defines the name of the provider to which the
-following tracepoint definitions will belong. It is used internally by
+following tracepoint definitions belong. It is used internally by
 LTTng-UST headers and _must_ be defined. Since `TRACEPOINT_PROVIDER`
 could have been defined by another header file also included by the same
 C source file, the best practice is to undefine it first.
@@ -139,10 +139,10 @@ must be included:
 #include <lttng/tracepoint.h>
 ~~~
 
-This will also allow the application to use the `tracepoint()` macro.
+This also allows the application to use the `tracepoint()` macro.
 
 Next is a list of `TRACEPOINT_EVENT()` macro calls which create the
-actual tracepoint definitions. We will skip this for the moment and
+actual tracepoint definitions. We skip this for the moment and
 come back to how to use `TRACEPOINT_EVENT()`
 [in a later section](#doc-defining-tracepoints). Just pay attention to
 the first argument: it's always the name of the tracepoint provider
@@ -171,7 +171,7 @@ included in some C source file to actually use it. This is the job of
 ~~~
 
 When `TRACEPOINT_CREATE_PROBES` is defined, the macros used in `tp.h`,
-which is included just after, will actually create the source code for
+which is included just after, actually create the source code for
 LTTng-UST probes (global data structures and functions) out of your
 tracepoint definitions. How exactly this is done is out of this text's scope.
 `TRACEPOINT_CREATE_PROBES` is discussed further
index ba872b4de5eff372bb579a8c053d711021d964b5..b6d4fc303c19fb7a4c4402e44450b722f1e071ea 100644 (file)
@@ -18,7 +18,7 @@ your situation requires multiple tracepoints with different names, but
 with the same fields layout, the best practice is to manually create
 a tracepoint class and instantiate as many tracepoint instances as
 needed. One positive effect of such a design, amongst other advantages,
-is that all tracepoint instances of the same tracepoint class will
+is that all tracepoint instances of the same tracepoint class
 reuse the same serialization function, thus reducing cache pollution.
 
 As an example, here are three tracepoint definitions as we know them:
index f141c52bdb7059876a42fbab72ffee8d91d91f08..d7f9caad3b923b34082ed6a13ab445a765de8514 100644 (file)
@@ -4,7 +4,7 @@ id: instrumenting-linux-kernel-tracing
 
 The [Controlling tracing](#doc-controlling-tracing) section explains
 how to use the `lttng` tool to create and control tracing sessions.
-Although the `lttng` tool will load the appropriate _known_ LTTng kernel
+Although the `lttng` tool loads the appropriate _known_ LTTng kernel
 modules when needed (by launching `root`'s session daemon), it won't
 load your custom `lttng-probe-hello` module by default. You need to
 manually start an LTTng session daemon as `root` and use the
index 27b6b0cefd49be9130967cfb3466cc65db9fdf55..e5fc82fb1760185130c5622f8eb635cd6a08bac5 100644 (file)
@@ -10,7 +10,7 @@ You should have a Linux kernel source code tree to work with.
 Throughout this section, all file paths are relative to the root of
 this tree unless otherwise stated.
 
-You will need a copy of the LTTng-modules Git repository:
+You need a copy of the LTTng-modules Git repository:
 
 <pre class="term">
 git clone git://git.lttng.org/lttng-modules.git
index 773c16d8233afe2d0e037757c2eb70c60fd85e45..58979e99e219fe40c10448f087d176591a6a08b0 100644 (file)
@@ -72,7 +72,7 @@ This tracepoint should fire every time a USB device is plugged in.
 
 At the top of `driver.c`, we need to include our actual tracepoint
 definition and, in this case (one place per subsystem), define
-`CREATE_TRACE_POINTS`, which will create our tracepoint:
+`CREATE_TRACE_POINTS`, which creates our tracepoint:
 
 ~~~ c
 /* ... */
index e34bdc5dfd1cc6992290f6af6b8dbea6bb703e7f..b8a8198b3e8ba42419bfff35a0101e474b0ec9c3 100644 (file)
@@ -26,7 +26,7 @@ If you're only interested in tracing the Linux kernel, it may very well
 be that your tracing needs are already appropriately covered by LTTng's
 built-in Linux kernel tracepoints and other probes. Or you may be in
 possession of a user space application which has already been
-instrumented. In such cases, the work will reside entirely in the design
+instrumented. In such cases, the work resides entirely in the design
 and execution of tracing sessions, allowing you to jump to
 [Controlling tracing](#doc-controlling-tracing) right now.
 
This page took 0.044579 seconds and 4 git commands to generate.