Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] LTTng and multiple kernels
@ 2016-10-12 14:31 Thibault, Daniel
  2016-10-15 14:56 ` Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: Thibault, Daniel @ 2016-10-12 14:31 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]

   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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [lttng-dev] LTTng and multiple kernels
  2016-10-12 14:31 [lttng-dev] LTTng and multiple kernels Thibault, Daniel
@ 2016-10-15 14:56 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2016-10-15 14:56 UTC (permalink / raw)


[-- 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-15 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-12 14:31 [lttng-dev] LTTng and multiple kernels Thibault, Daniel
2016-10-15 14:56 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox