Remove "etc."
[lttng-docs.git] / contents / using-lttng / intro.md
CommitLineData
5e0cbfb0
PP
1---
2id: using-lttng
3---
4
5Using LTTng involves two main activities: **instrumenting** and
6**controlling tracing**.
7
8_[Instrumenting](#doc-instrumenting)_ is the process of inserting probes
9into some source code. It can be done manually, by writing tracepoint
10calls at specific locations in the source code of the program to trace,
11or more automatically using dynamic probes (address in assembled code,
ba3b1994 12symbol name, function entry/return, and others).
5e0cbfb0
PP
13
14It has to be noted that, as an LTTng user, you may not have to worry
15about the instrumentation process. Indeed, you may want to trace a
16program already instrumented. As an example, the Linux kernel is
17thoroughly instrumented, which is why you can trace it without caring
18about adding probes.
19
20_[Controlling tracing](#doc-controlling-tracing)_ is everything
21that can be done by the LTTng session daemon, which is controlled using
22`liblttng-ctl` or its command line utility, `lttng`: creating tracing
23sessions, listing tracing sessions and events, enabling/disabling
ba3b1994
PP
24events, starting/stopping the tracers, taking snapshots, amongst many
25other commands.
5e0cbfb0
PP
26
27This chapter is a complete user guide of both activities,
28with common use cases of LTTng exposed throughout the text. It is
29assumed that you are familiar with LTTng's concepts (events, channels,
30domains, tracing sessions) and that you understand the roles of its
31components (daemons, libraries, command line tools); if not, we invite
32you to read the [Understanding LTTng](#doc-understanding-lttng) chapter
33before you begin reading this one.
34
35If you're new to LTTng, we suggest that you rather start with the
36[Getting started](#doc-getting-started) small guide first, then come
37back here to broaden your knowledge.
38
39If you're only interested in tracing the Linux kernel with its current
40instrumentation, you may skip the
41[Instrumenting](#doc-instrumenting) section.
This page took 0.023632 seconds and 4 git commands to generate.