From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] LTTng and multiple kernels
Date: Sat, 15 Oct 2016 14:56:32 +0000 (UTC) [thread overview]
Message-ID: <34873474.55935.1476543392594.JavaMail.zimbra@efficios.com> (raw)
In-Reply-To: <48CF5AC71E61DB46B70D0F388054EFFDB7DF18BA@VAL-E-01.valcartier.drdc-rddc.gc.ca>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1950 bytes --]
You will then need to build and install lttng-modules against each of your
kernels.
lttng-modules (as any kernel module) installs under /lib/modules/$(uname -r),
where $(uname -r) evaluates to the kernel version you build against.
When building, it looks for your kernel headers by following /lib/modules/$(uname -r)/build
or /lib/modules/$(uname -r)/source (I don't recall which).
You can override the directory it builds against by using the KERNELDIR environment
variable.
Thanks,
Mathieu
----- On Oct 12, 2016, at 4:31 PM, Daniel Thibault Daniel.Thibault at drdc-rddc.gc.ca wrote:
> Assume we have this system with a choice of kernels at boot time (for instance,
> between 2.6.18, 2.6.18-128.el5, and 2.6.18-grsec). Do we need to do multiple
> LTTng builds? For some packages only, maybe (e.g., lttng-modules)? If so, can
> they cohabit without trouble, or will we need to run some sort of LTTng-fixing
> script every time we switch kernels?
>
> Daniel U. Thibault, M.Sc.²
>
> Informaticien scientifique, CME-PSC, Centre de recherches de Valcartier
> Recherche et développement pour la défense Canada / Gouvernement du Canada
> daniel.thibault at drdc-rddc.gc.ca / Tél: 418-844-4000x4245 Téléc: 418-844-4538
> daniel.thibault at forces.gc.ca / Tél: 418-844-4000x4245 Téléc: 418-844-4538
>
> Computer Scientist, MCCS-SPC, Valcartier Research Centre
> Defence Research and Development Canada / Government of Canada
> daniel.thibault at drdc-rddc.gc.ca / Tel: 418-844-4000x4245 Fax: 418-844-4538
> daniel.thibault at forces.gc.ca / Tel: 418-844-4000x4245 Fax: 418-844-4538
>
> DRDC is an agency of the Department of National Defence / RDDC est une agence du
> ministère de la Défense nationale
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
prev parent reply other threads:[~2016-10-15 14:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-12 14:31 Thibault, Daniel
2016-10-15 14:56 ` Mathieu Desnoyers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=34873474.55935.1476543392594.JavaMail.zimbra@efficios.com \
--to=mathieu.desnoyers@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox