1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865
|
'\" t
.\" Title: lttng-sessiond
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 14 June 2021
.\" Manual: LTTng Manual
.\" Source: LTTng 2.13.15
.\" Language: English
.\"
.TH "LTTNG\-SESSIOND" "8" "14 June 2021" "LTTng 2\&.13\&.15" "LTTng Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
lttng-sessiond \- LTTng session daemon
.SH "SYNOPSIS"
.sp
.nf
\fBlttng\-sessiond\fR [\fB--background\fR | \fB--daemonize\fR] [\fB--sig-parent\fR]
[\fB--config\fR=\fIPATH\fR] [\fB--group\fR=\fIGROUP\fR] [\fB--load\fR=\fIPATH\fR]
[\fB--agent-tcp-port\fR=\fIPORT\fR]
[\fB--apps-sock\fR=\fIPATH\fR] [\fB--client-sock\fR=\fIPATH\fR]
[\fB--no-kernel\fR | [\fB--kmod-probes\fR=\fIPROBE\fR[,\fIPROBE\fR]\&...]
[\fB--extra-kmod-probes\fR=\fIPROBE\fR[,\fIPROBE\fR]\&...]
[\fB--kconsumerd-err-sock\fR=\fIPATH\fR]
[\fB--kconsumerd-cmd-sock\fR=\fIPATH\fR]]
[\fB--ustconsumerd32-err-sock\fR=\fIPATH\fR]
[\fB--ustconsumerd64-err-sock\fR=\fIPATH\fR]
[\fB--ustconsumerd32-cmd-sock\fR=\fIPATH\fR]
[\fB--ustconsumerd64-cmd-sock\fR=\fIPATH\fR]
[\fB--consumerd32-path\fR=\fIPATH\fR] [\fB--consumerd32-libdir\fR=\fIPATH\fR]
[\fB--consumerd64-path\fR=\fIPATH\fR] [\fB--consumerd64-libdir\fR=\fIPATH\fR]
[\fB--event-notifier-error-buffer-size-kernel\fR=\fISLOTS\fR]
[\fB--event-notifier-error-buffer-size-userspace\fR=\fISLOTS\fR]
[\fB--quiet\fR | [\fB--verbose\fR]\&... [\fB--verbose-consumer\fR]]
.fi
.SH "DESCRIPTION"
.sp
The \fILinux Trace Toolkit: next generation\fR <https://lttng.org/> is an open\-source software package used for correlated tracing of the Linux kernel, user applications, and user libraries\&.
.sp
LTTng consists of Linux kernel modules (for Linux kernel tracing) and dynamically loaded libraries (for user application and library tracing)\&.
.sp
An LTTng session daemon, \fBlttng-sessiond\fR, is a program which:
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Manages recording sessions (see
\fBlttng-concepts\fR(7)
to learn more about recording sessions)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Controls the various components (like tracers and consumer daemons) of LTTng\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Sends asynchronous notifications to user applications\&.
.RE
.sp
A session daemon receives commands from the \fBlttng\fR(1) command\-line tool, as well as from any user application linked with the LTTng control library (\fBliblttng-ctl\fR)\&.
.sp
Each Unix user may have its own independent running session daemon\&. However, the \fBlttng\fR(1) tool must connect to the session daemon of the \fBroot\fR user (the root session daemon) to control Linux kernel tracing\&.
.sp
When you start \fBlttng-sessiond\fR as the \fBroot\fR Unix user, a non\-root Unix user can connect to it if it\(cqs part of the Unix tracing group\&. By default, the name of the tracing group is \fBtracing\fR\&. Override the tracing group name with the \fB--group\fR option\&.
.sp
See the \(lqSession daemon connection\(rq section of \fBlttng\fR(1) to learn how a user application connects to a session daemon\&.
.sp
A session daemon manages trace data consumer daemons, spawning them when necessary\&. You do NOT need to manage the consumer daemons yourself\&.
.sp
By default, \fBlttng-sessiond\fR doesn\(cqt start as a daemon\&. Make it a daemon with the \fB--daemonize\fR or \fB--background\fR option\&. With those options, \fBlttng-sessiond\fR ensures the daemon is ready to receive client commands before it exits\&.
.if n \{\
.sp
.\}
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBNote\fR
.ps -1
.br
.RS 4
.sp
The LTTng project recommends that you start the session daemon at boot time for stable and long\-term tracing\&.
.sp .5v
.RE
.if n \{\
.sp
.\}
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBNote\fR
.ps -1
.br
.RS 4
.sp
For an unprivileged Unix user running \fBlttng-sessiond\fR, the maximum number of file descriptors per process is usually 1024\&. This limits the number of traceable applications, since, for each instrumented application, there are two file descriptors per CPU as well as one socket for bidirectional communication\&.
.sp
For the \fBroot\fR user, the limit is usually 65,535\&.
.sp .5v
.RE
.SS "Daemon configuration"
.sp
When you run \fBlttng-sessiond\fR, it configures itself from, in this order:
.sp
.RS 4
.ie n \{\
\h'-04' 1.\h'+01'\c
.\}
.el \{\
.sp -1
.IP " 1." 4.2
.\}
The INI configuration file
\fB/usr/local/etc/lttng/lttng.conf\fR, if any\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04' 2.\h'+01'\c
.\}
.el \{\
.sp -1
.IP " 2." 4.2
.\}
The INI configuration file
\fB$LTTNG_HOME/.lttng/lttng.conf\fR, if any\&.
.sp
\fB$LTTNG_HOME\fR
defaults to
\fB$HOME\fR\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04' 3.\h'+01'\c
.\}
.el \{\
.sp -1
.IP " 3." 4.2
.\}
With the
\fB--config\fR=\fIPATH\fR
option: the INI configuration file
\fIPATH\fR\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04' 4.\h'+01'\c
.\}
.el \{\
.sp -1
.IP " 4." 4.2
.\}
The command\-line options\&.
.RE
.sp
Each step can override a previous configuration property\&.
.sp
In INI configuration files, the session daemon only reads the properties under the \fBsessiond\fR INI section\&. Each INI property is:
.PP
Key
.RS 4
The long name of a command\-line option to set (see the \(lqOPTIONS\(rq section below)\&.
.RE
.PP
Value
.RS 4
.PP
The selected command\-line option accepts an argument
.RS 4
Option argument (string)\&.
.RE
.PP
The selected command\-line option is a switch
.RS 4
.PP
\fBtrue\fR, \fByes\fR, \fBon\fR
.RS 4
Enable the option\&.
.RE
.PP
\fBfalse\fR, \fBno\fR, \fBoff\fR
.RS 4
Disable the option\&.
.RE
.RE
.RE
.sp
INI configuration file example:
.sp
.if n \{\
.RS 4
.\}
.nf
[sessiond]
daemonize=yes
extra\-kmod\-probes=my\-driver,other\-module
.fi
.if n \{\
.RE
.\}
.SS "Recording session configuration loading"
.sp
When the session daemon starts, it loads recording session configurations from:
.PP
Without the \fB--load\fR option
.RS 4
In this order:
.sp
.RS 4
.ie n \{\
\h'-04' 1.\h'+01'\c
.\}
.el \{\
.sp -1
.IP " 1." 4.2
.\}
All the files in
\fB$LTTNG_HOME/.lttng/sessions/auto\fR\&.
.sp
\fB$LTTNG_HOME\fR
defaults to
\fB$HOME\fR\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04' 2.\h'+01'\c
.\}
.el \{\
.sp -1
.IP " 2." 4.2
.\}
All the files in
\fB/usr/local/etc/lttng/sessions/auto\fR\&.
.RE
.sp
\fBlttng-sessiond\fR
only loads recording session configuration files from the directories above if its UID and their UID are the same\&.
.RE
.PP
With the \fB--load\fR=\fIPATH\fR option
.RS 4
.PP
\fIPATH\fR is a directory
.RS 4
All the files in
\fIPATH\fR\&.
.RE
.PP
\fIPATH\fR is a file
.RS 4
The file
\fIPATH\fR\&.
.RE
.RE
.SH "OPTIONS"
.SS "General daemon configuration"
.PP
\fB-b\fR, \fB--background\fR
.RS 4
Start as a Unix daemon, but keep file descriptors (console) open\&.
.sp
With this option,
\fBlttng-sessiond\fR
ensures the daemon is ready to receive client commands before it exits\&.
.sp
Use the
\fB--daemonize\fR
option instead to close the file descriptors\&.
.RE
.PP
\fB-f\fR \fIPATH\fR, \fB--config\fR=\fIPATH\fR
.RS 4
Configure the daemon using the INI configuration file
\fIPATH\fR
in addition to the default configuration files and the command\-line options\&.
.sp
See the \(lqDaemon configuration\(rq section above\&.
.RE
.PP
\fB-d\fR, \fB--daemonize\fR
.RS 4
Start as a Unix daemon and close file descriptors (console)\&.
.sp
With this option,
\fBlttng-sessiond\fR
ensures the daemon is ready to receive client commands before it exits\&.
.sp
Use the
\fB--background\fR
option instead to keep the file descriptors open\&.
.RE
.PP
\fB-g\fR \fIGROUP\fR, \fB--group\fR=\fIGROUP\fR
.RS 4
Set the Unix tracing group to
\fIGROUP\fR
instead of
\fBtracing\fR\&.
.sp
This option is only meaningful when the
\fBroot\fR
Unix user starts
\fBlttng-sessiond\fR\&.
.sp
Members of the Unix tracing group may connect to the root session daemon and, therefore, control LTTng kernel tracing\&.
.RE
.PP
\fB-l\fR \fIPATH\fR, \fB--load\fR=\fIPATH\fR
.RS 4
Load recording session configurations from
\fIPATH\fR, either a directory or a file, instead of loading them from the default search directories\&.
.sp
See the \(lqRecording session configuration loading\(rq section above\&.
.RE
.PP
\fB-S\fR, \fB--sig-parent\fR
.RS 4
Send the
\fBUSR1\fR
signal to the parent process to notify readiness\&.
.sp
You can also use the
\fB--daemonize\fR
or
\fB--background\fR
option, in which case
\fBlttng-sessiond\fR
ensures the daemon is ready to receive client commands before it exits\&.
.RE
.SS "Linux kernel tracing"
.sp
At most one of:
.PP
\fB--extra-kmod-probes\fR=\fIPROBE\fR[,\fIPROBE\fR]\&...
.RS 4
For each
\fIPROBE\fR
argument, load the LTTng kernel probe module named
\fBlttng-probe-\fR\fIPROBE\fR\fB.ko\fR, in addition to loading the default LTTng kernel probe modules\&.
.sp
See also the
\fBLTTNG_EXTRA_KMOD_PROBES\fR
environment variable\&.
.RE
.PP
\fB--kmod-probes\fR=\fIPROBE\fR[,\fIPROBE\fR]\&...
.RS 4
Only load, for each
\fIPROBE\fR
argument, the LTTng kernel probe module named
\fBlttng-probe-\fR\fIPROBE\fR\fB.ko\fR, instead of loading the default LTTng kernel probe modules\&.
.sp
See also the
\fBLTTNG_KMOD_PROBES\fR
environment variable\&.
.RE
.PP
\fB--no-kernel\fR
.RS 4
Disable Linux kernel tracing\&.
.RE
.SS "Paths and ports"
.PP
\fB--agent-tcp-port\fR=\fIPORT\fR
.RS 4
Listen on TCP port
\fIPORT\fR
for agent application registration instead of a port within the range [5345,\ \&5354])\&.
.RE
.PP
\fB-a\fR \fIPATH\fR, \fB--apps-sock\fR=\fIPATH\fR
.RS 4
Set the application Unix socket path to
\fIPATH\fR\&.
.RE
.PP
\fB-c\fR \fIPATH\fR, \fB--client-sock\fR=\fIPATH\fR
.RS 4
Set the client Unix socket path to
\fIPATH\fR\&.
.RE
.PP
\fB--consumerd32-libdir\fR=\fIPATH\fR
.RS 4
Set the 32\-bit consumer daemon library directory to
\fIPATH\fR\&.
.sp
See also the
\fBLTTNG_CONSUMERD32_LIBDIR\fR
environment variable\&.
.RE
.PP
\fB--consumerd32-path\fR=\fIPATH\fR
.RS 4
Set the 32\-bit consumer daemon binary path to
\fIPATH\fR\&.
.sp
See also the
\fBLTTNG_CONSUMERD32_BIN\fR
environment variable\&.
.RE
.PP
\fB--consumerd64-libdir\fR=\fIPATH\fR
.RS 4
Set the 64\-bit consumer daemon library directory to
\fIPATH\fR\&.
.sp
See also the
\fBLTTNG_CONSUMERD64_LIBDIR\fR
environment variable\&.
.RE
.PP
\fB--consumerd64-path\fR=\fIPATH\fR
.RS 4
Set the 64\-bit consumer daemon binary path to
\fIPATH\fR\&.
.sp
See also the
\fBLTTNG_CONSUMERD32_BIN\fR
environment variable\&.
.RE
.PP
\fB--kconsumerd-cmd-sock\fR=\fIPATH\fR
.RS 4
Set the command Unix socket path of the Linux kernel consumer daemon to
\fIPATH\fR\&.
.RE
.PP
\fB--kconsumerd-err-sock\fR=\fIPATH\fR
.RS 4
Set the error Unix socket path of the Linux kernel consumer daemon to
\fIPATH\fR\&.
.RE
.PP
\fB--ustconsumerd32-cmd-sock\fR=\fIPATH\fR
.RS 4
Set the Unix socket path of the 32\-bit consumer daemon command to
\fIPATH\fR\&.
.RE
.PP
\fB--ustconsumerd64-cmd-sock\fR=\fIPATH\fR
.RS 4
Set the Unix socket path of the 64\-bit consumer daemon command to
\fIPATH\fR\&.
.RE
.PP
\fB--ustconsumerd32-err-sock\fR=\fIPATH\fR
.RS 4
Set the Unix socket path of the 32\-bit consumer daemon error to
\fIPATH\fR\&.
.RE
.PP
\fB--ustconsumerd64-err-sock\fR=\fIPATH\fR
.RS 4
Set the Unix socket path of the 64\-bit consumer daemon error to
\fIPATH\fR\&.
.RE
.SS "Buffer size of event notifier error counters"
.PP
\fB--event-notifier-error-buffer-size-kernel\fR=\fISLOTS\fR
.RS 4
Set the size of the kernel event notifier error counter buffers to
\fISLOTS\fR\ \&slots\&.
.RE
.PP
\fB--event-notifier-error-buffer-size-userspace\fR=\fISLOTS\fR
.RS 4
Set the size of the user space event notifier error counter buffers to
\fISLOTS\fR\ \&slots\&.
.RE
.sp
As of LTTng\ \&2\&.13\&.15, a \fIslot\fR is a 32\-bit counter, but this may change in the future\&.
.SS "Verbosity"
.PP
\fB-q\fR, \fB--quiet\fR
.RS 4
Suppress all messages, including warnings and errors\&.
.sp
You may NOT use this option with the
\fB--verbose\fR
and
\fB--verbose-consumer\fR
options\&.
.RE
.PP
\fB-v\fR, \fB--verbose\fR
.RS 4
Increase verbosity\&.
.sp
Specify this option up to three times to get more levels of verbosity\&.
.sp
You may NOT use this option with the
\fB--quiet\fR
option\&.
.RE
.PP
\fB--verbose-consumer\fR
.RS 4
Increase the verbosity of the consumer daemons which this session daemon spawns\&.
.sp
You may NOT use this option with the
\fB--quiet\fR
option\&.
.RE
.SS "Program information"
.PP
\fB-h\fR, \fB--help\fR
.RS 4
Show help\&.
.sp
This option attempts to launch
\fB/usr/bin/man\fR
to view this manual page\&. Override the manual pager path with the
\fBLTTNG_MAN_BIN_PATH\fR
environment variable\&.
.RE
.PP
\fB--list-options\fR
.RS 4
List available command options and quit\&.
.RE
.PP
\fB-V\fR, \fB--version\fR
.RS 4
Show version and quit\&.
.RE
.SH "EXIT STATUS"
.PP
\fB0\fR
.RS 4
Success
.RE
.PP
\fB1\fR
.RS 4
Error
.RE
.PP
\fB3\fR
.RS 4
Fatal error
.RE
.SH "ENVIRONMENT"
.PP
\fBLTTNG_ABORT_ON_ERROR\fR
.RS 4
Set to
\fB1\fR
to abort the process after the first error is encountered\&.
.RE
.PP
\fBLTTNG_APP_SOCKET_TIMEOUT\fR
.RS 4
Timeout (in seconds) of the application socket when sending/receiving commands\&.
.sp
After this period of time,
\fBlttng-sessiond\fR
unregisters the application\&.
.sp
Set to
\fB0\fR
or
\fB-1\fR
to set an infinite timeout\&.
.sp
Default:
\fB5\fR\&.
.RE
.PP
\fBLTTNG_CONSUMERD32_BIN\fR
.RS 4
32\-bit consumer daemon binary path\&.
.sp
The
\fB--consumerd32-path\fR
option overrides this environment variable\&.
.RE
.PP
\fBLTTNG_CONSUMERD32_LIBDIR\fR
.RS 4
32\-bit consumer daemon library directory path\&.
.sp
The
\fB--consumerd32-libdir\fR
option overrides this environment variable\&.
.RE
.PP
\fBLTTNG_CONSUMERD64_BIN\fR
.RS 4
64\-bit consumer daemon binary path\&.
.sp
The
\fB--consumerd64-path\fR
option overrides this environment variable\&.
.RE
.PP
\fBLTTNG_CONSUMERD64_LIBDIR\fR
.RS 4
64\-bit consumer daemon library directory path\&.
.sp
The
\fB--consumerd64-libdir\fR
option overrides this environment variable\&.
.RE
.PP
\fBLTTNG_DEBUG_NOCLONE\fR
.RS 4
Set to
\fB1\fR
to disable the use of
\fBclone\fR(2)/\fBfork\fR(2)\&.
.sp
Setting this environment variable is considered insecure, but it\(cqs required to allow debuggers to work with
\fBlttng-sessiond\fR
on some operating systems\&.
.RE
.PP
\fBLTTNG_EXTRA_KMOD_PROBES\fR
.RS 4
Extra LTTng kernel probe modules to load\&.
.sp
See the
\fB--extra-kmod-probes\fR
option which overrides this environment variable\&.
.RE
.PP
\fBLTTNG_KMOD_PROBES\fR
.RS 4
Exclusive LTTng kernel probe modules to load\&.
.sp
See the
\fB--kmod-probes\fR
option which overrides this environment variable\&.
.RE
.PP
\fBLTTNG_NETWORK_SOCKET_TIMEOUT\fR
.RS 4
Socket connection, receive, and send timeout (milliseconds)\&.
.sp
Set to
\fB0\fR
or
\fB-1\fR
to use the timeout of the operating system (default)\&.
.RE
.PP
\fBLTTNG_SESSION_CONFIG_XSD_PATH\fR
.RS 4
Recording session configuration XML schema definition (XSD) path\&.
.RE
.SH "FILES"
.PP
\fB$LTTNG_HOME/.lttng\fR
.RS 4
Unix user\(cqs LTTng runtime and configuration directory\&.
.RE
.PP
\fB$LTTNG_HOME/lttng-traces\fR
.RS 4
Default output directory of LTTng traces in local and snapshot modes\&.
.sp
Override this path with the
\fB--output\fR
option of the
\fBlttng-create\fR(1)
command\&.
.RE
.PP
\fB$LTTNG_HOME/.lttng/sessions/auto\fR
.RS 4
Directory from which
\fBlttng-sessiond\fR
loads Unix user recording session configurations when starting\&.
.sp
See the \(lqRecording session configuration loading\(rq section above to learn more\&.
.RE
.PP
\fB/usr/local/etc/lttng/sessions/auto\fR
.RS 4
Directory from which
\fBlttng-sessiond\fR
loads system\-wide recording session configurations when starting\&.
.sp
See the \(lqRecording session configuration loading\(rq section above to learn more\&.
.RE
.PP
\fB$LTTNG_HOME/.lttng/lttng.conf\fR
.RS 4
Unix user\(cqs LTTng daemon INI configuration file\&.
.sp
See the \(lqDaemon configuration\(rq section above to learn more\&.
.RE
.PP
\fB/usr/local/etc/lttng/lttng.conf\fR
.RS 4
System\-wide LTTng daemon INI configuration file\&.
.sp
See the \(lqDaemon configuration\(rq section above to learn more\&.
.RE
.if n \{\
.sp
.\}
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBNote\fR
.ps -1
.br
.RS 4
.sp
\fB$LTTNG_HOME\fR defaults to \fB$HOME\fR\&.
.sp .5v
.RE
.SH "RESOURCES"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
LTTng project website <https://lttng.org>
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
LTTng documentation <https://lttng.org/docs>
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
LTTng bug tracker <https://bugs.lttng.org>
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Git repositories <https://git.lttng.org>
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
GitHub organization <https://github.com/lttng>
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Continuous integration <https://ci.lttng.org/>
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Mailing list <https://lists.lttng.org/>
for support and development:
\fBlttng-dev@lists.lttng.org\fR
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
IRC channel <irc://irc.oftc.net/lttng>:
\fB#lttng\fR
on
\fBirc.oftc.net\fR
.RE
.SH "COPYRIGHT"
.sp
This program is part of the LTTng\-tools project\&.
.sp
LTTng\-tools is distributed under the GNU General Public License version\ \&2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>\&. See the \fBLICENSE\fR <https://github.com/lttng/lttng-tools/blob/master/LICENSE> file for details\&.
.SH "THANKS"
.sp
Special thanks to Michel Dagenais and the DORSAL laboratory <http://www.dorsal.polymtl.ca/> at \('Ecole Polytechnique de Montr\('eal for the LTTng journey\&.
.sp
Also thanks to the Ericsson teams working on tracing which helped us greatly with detailed bug reports and unusual test cases\&.
.SH "SEE ALSO"
.sp
\fBlttng\fR(1), \fBlttng-concepts\fR(7)
|