You will then need to build and install lttng-modules against each of your

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 



----- On Oct 12, 2016, at 4:31 PM, Daniel Thibault 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
> / Tél: 418-844-4000x4245 Téléc: 418-844-4538
> / 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
> / Tel: 418-844-4000x4245 Fax: 418-844-4538
> / 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

Mathieu Desnoyers
EfficiOS Inc.
lttng-dev mailing list

Reply via email to