From 35df69388ff1fdf8a57e81832f64fb1fc132054c Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Mon, 22 Jan 2018 16:05:35 -0500 Subject: [PATCH] 2.9, 2.10: update installation Signed-off-by: Philippe Proulx --- 2.10/lttng-docs-2.10.txt | 70 ++++++++++++++++++++++++++----- 2.9/lttng-docs-2.9.txt | 89 ++++++++++------------------------------ 2 files changed, 82 insertions(+), 77 deletions(-) diff --git a/2.10/lttng-docs-2.10.txt b/2.10/lttng-docs-2.10.txt index defbdf6..0cb7886 100644 --- a/2.10/lttng-docs-2.10.txt +++ b/2.10/lttng-docs-2.10.txt @@ -1,7 +1,7 @@ The LTTng Documentation ======================= Philippe Proulx -v2.10, 3 October 2017 +v2.10, 22 January 2018 include::../common/copyright.txt[] @@ -321,7 +321,7 @@ but note that: applications. [role="growable"] -.Availability of LTTng{nbsp}{revision} for major Linux distributions as of 3 October 2017. +.Availability of LTTng{nbsp}{revision} for major Linux distributions as of 22 January 2018. |==== |Distribution |Available in releases |Alternatives @@ -335,7 +335,7 @@ other Ubuntu releases. |https://getfedora.org/[Fedora] |<>. -|link:/docs/v2.9#doc-fedora[LTTng{nbsp}2.9 for Fedora 26]. +|link:/docs/v2.9#doc-fedora[LTTng{nbsp}2.9 for Fedora{nbsp}26]. <> for other Fedora releases. @@ -351,10 +351,8 @@ other Fedora releases. |<>. |https://alpinelinux.org/[Alpine Linux] -|_Not available_ -|link:/docs/v2.9#doc-alpine-linux[LTTng{nbsp}2.9 for Alpine Linux "edge"]. - -<>. +|<>. +|<>. |https://www.redhat.com/[RHEL] and https://www.suse.com/[SLES] |See http://packages.efficios.com/[EfficiOS Enterprise Packages]. @@ -362,15 +360,16 @@ other Fedora releases. |https://buildroot.org/[Buildroot] |_Not available_ -|link:/docs/v2.9#doc-buildroot[LTTng{nbsp}2.9 for Buildroot{nbsp}2017.02 and -Buildroot{nbsp}2017.05]. +|link:/docs/v2.9#doc-buildroot[LTTng{nbsp}2.9 for Buildroot{nbsp}2017.02, +Buildroot{nbsp}2017.05, Buildroot{nbsp}2017.08, and Buildroot{nbsp}2017.11]. <>. |http://www.openembedded.org/wiki/Main_Page[OpenEmbedded] and https://www.yoctoproject.org/[Yocto] |_Not available_ -|link:/docs/v2.9#doc-oe-yocto[LTTng{nbsp}2.9 for Yocto Project{nbsp}2.3 _Pyro_] +|link:/docs/v2.9#doc-oe-yocto[LTTng{nbsp}2.9 for Yocto Project{nbsp}2.3 _Pyro_ +and Yocto Project{nbsp}2.4 _Rocko_] (`openembedded-core` layer). <>. @@ -557,6 +556,57 @@ $ pacaur -Sy lttng-modules -- +[[alpine-linux]] +=== Alpine Linux + +To install LTTng-tools{nbsp}{revision} and LTTng-UST{nbsp}{revision} on +Alpine Linux{nbsp}3.7 or Alpine Linux{nbsp}"edge": + +. **If you're installing for Alpine Linux{nbsp}"edge"**, make sure your + system is https://wiki.alpinelinux.org/wiki/Edge[configured for + "edge"]. +. **If you're installing for Alpine Linux{nbsp}"edge"**, enable the _testing_ + repository by uncommenting the corresponding line in + path:{/etc/apk/repositories}. +. Add the LTTng packages: ++ +-- +[role="term"] +---- +# apk add lttng-tools +# apk add lttng-ust-dev +---- +-- + +To install LTTng-modules{nbsp}{revision} (Linux kernel tracing support) +on Alpine Linux{nbsp}3.7 or Alpine Linux{nbsp}"edge": + +. Add the vanilla Linux kernel: ++ +-- +[role="term"] +---- +# apk add linux-vanilla linux-vanilla-dev +---- +-- + +. Reboot with the vanilla Linux kernel. +. Download, build, and install the latest LTTng-modules{nbsp}{revision}: ++ +-- +[role="term"] +---- +$ cd $(mktemp -d) && +wget http://lttng.org/files/lttng-modules/lttng-modules-latest-2.10.tar.bz2 && +tar -xf lttng-modules-latest-2.10.tar.bz2 && +cd lttng-modules-2.10.* && +make && +sudo make modules_install && +sudo depmod -a +---- +-- + + [[enterprise-distributions]] === RHEL, SUSE, and other enterprise distributions diff --git a/2.9/lttng-docs-2.9.txt b/2.9/lttng-docs-2.9.txt index 719e0dd..7fe1dbe 100644 --- a/2.9/lttng-docs-2.9.txt +++ b/2.9/lttng-docs-2.9.txt @@ -1,7 +1,7 @@ The LTTng Documentation ======================= Philippe Proulx -v2.9, 3 October 2017 +v2.9, 22 January 2018 include::../common/copyright.txt[] @@ -340,7 +340,7 @@ but note that: applications. [role="growable"] -.Availability of LTTng{nbsp}{revision} for major Linux distributions as of 3 October 2017. +.Availability of LTTng{nbsp}{revision} for major Linux distributions as of 22 January 2018. |==== |Distribution |Available in releases |Alternatives @@ -354,14 +354,18 @@ other Ubuntu releases. |https://getfedora.org/[Fedora] |<>. -|link:/docs/v2.10#doc-fedora[LTTng{nbsp}2.10 for Fedora 27]. +|link:/docs/v2.10#doc-fedora[LTTng{nbsp}2.10 for Fedora{nbsp}27]. <> for other Fedora releases. |https://www.debian.org/[Debian] |<>. -|<> for +|link:/docs/v2.10#doc-debian[LTTng{nbsp}2.10 for Debian "buster" (testing) +and Debian "sid" (unstable)]. + + +<> for other Debian releases. |https://www.archlinux.org/[Arch Linux] @@ -371,29 +375,27 @@ other Debian releases. <>. |https://alpinelinux.org/[Alpine Linux] -|<>. -|<> for -other Alpine Linux releases. +|_Not available_ +|link:/docs/v2.10#doc-alpine-linux[LTTng{nbsp}2.10 for Alpine Linux{nbsp}3.7 +and Alpine Linux{nbsp}"edge"]. + +<>. |https://www.redhat.com/[RHEL] and https://www.suse.com/[SLES] |See http://packages.efficios.com/[EfficiOS Enterprise Packages]. | |https://buildroot.org/[Buildroot] -|<<"buildroot", "Buildroot{nbsp}2017.02, Buildroot{nbsp}2017.05, and Buildroot{nbsp}2017.08">>. -|link:/docs/v2.8#doc-buildroot[LTTng{nbsp}2.8 for Buildroot{nbsp}2016.11]. - -<> for +|<<"buildroot", "Buildroot{nbsp}2017.02, Buildroot{nbsp}2017.05, Buildroot{nbsp}2017.08, and Buildroot{nbsp}2017.11">>. +|<> for other Buildroot releases. |http://www.openembedded.org/wiki/Main_Page[OpenEmbedded] and https://www.yoctoproject.org/[Yocto] -|<> (`openembedded-core` layer). -|link:/docs/v2.8#doc-oe-yocto[LTTng{nbsp}2.8 for Yocto Project{nbsp}2.2 _Morty_] +|<> (`openembedded-core` layer). - -<> for -other OpenEmbedded releases. +|<> for +other Yocto/OpenEmbedded releases. |==== @@ -582,55 +584,6 @@ To install LTTng{nbsp}{revision} on Debian "stretch" (stable): -- -[[alpine-linux]] -=== Alpine Linux - -To install LTTng-tools{nbsp}{revision} and LTTng-UST{nbsp}{revision} on -Alpine Linux "edge": - -. Make sure your system is - https://wiki.alpinelinux.org/wiki/Edge[configured for "edge"]. -. Enable the _testing_ repository by uncommenting the corresponding - line in path:{/etc/apk/repositories}. -. Add the LTTng packages: -+ --- -[role="term"] ----- -# apk add lttng-tools -# apk add lttng-ust-dev ----- --- - -To install LTTng-modules{nbsp}{revision} (Linux kernel tracing support) -on Alpine Linux "edge": - -. Add the vanilla Linux kernel: -+ --- -[role="term"] ----- -# apk add linux-vanilla linux-vanilla-dev ----- --- - -. Reboot with the vanilla Linux kernel. -. Download, build, and install the latest LTTng-modules{nbsp}{revision}: -+ --- -[role="term"] ----- -$ cd $(mktemp -d) && -wget http://lttng.org/files/lttng-modules/lttng-modules-latest-2.9.tar.bz2 && -tar -xf lttng-modules-latest-2.9.tar.bz2 && -cd lttng-modules-2.9.* && -make && -sudo make modules_install && -sudo depmod -a ----- --- - - [[enterprise-distributions]] === RHEL, SUSE, and other enterprise distributions @@ -643,7 +596,8 @@ see http://packages.efficios.com/[EfficiOS Enterprise Packages]. === Buildroot To install LTTng{nbsp}{revision} on Buildroot{nbsp}2017.02, -Buildroot{nbsp}2017.05, or Buildroot{nbsp}2017.08: +Buildroot{nbsp}2017.05, Buildroot{nbsp}2017.08, or +Buildroot{nbsp}2017.11: . Launch the Buildroot configuration tool: + @@ -667,7 +621,8 @@ $ make menuconfig LTTng{nbsp}{revision} recipes are available in the http://layers.openembedded.org/layerindex/branch/master/layer/openembedded-core/[`openembedded-core`] -layer for Yocto Project{nbsp}2.3 _Pyro_ under the following names: +layer for Yocto Project{nbsp}2.3 _Pyro_ and Yocto Project{nbsp}2.4 _Rocko_ +under the following names: * `lttng-tools` * `lttng-modules` -- 2.39.5