Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302246 - LTTng is a kernel tracer for Linux
Summary: LTTng is a kernel tracer for Linux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Yixun Lan
URL: http://www.lttng.org/
Whiteboard:
Keywords:
: 415373 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-26 01:33 UTC by honeymak
Modified: 2014-03-04 07:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lttv package ebuild (lttv-0.12.38.ebuild,817 bytes, text/plain)
2011-07-08 17:41 UTC, Christopher Harvey
Details
include_fixup.patch (include_fixup.patch,335 bytes, patch)
2011-07-08 17:42 UTC, Christopher Harvey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description honeymak 2010-01-26 01:33:49 UTC
LTTng is a kernel tracer for Linux. It helps tracking down performance issues and debugging problems involving multiple concurrent processes and threads. Its trace analysis counterpart, LTTV, permits to analyze and show, both in text format and graphically, the traces gathered by LTTng.

Reproducible: Always
Comment 1 Christopher Harvey 2011-07-08 17:41:17 UTC
Created attachment 279457 [details]
lttv package ebuild

lttng has a few packages. Here is the viewer. 
More to come.

I also volunteer myself as maintainer if nobody else will. 
I'll need a proxy to commit for me.
Comment 2 Christopher Harvey 2011-07-08 17:42:01 UTC
Created attachment 279459 [details, diff]
include_fixup.patch
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-10 14:34:15 UTC
*** Bug 415373 has been marked as a duplicate of this bug. ***
Comment 4 vanny 2012-05-10 14:39:36 UTC
HI there,
I cannot install LTTng modules (see lttng.org ).
I'm using Gentoo with kernel 3.0.27-rt46 on Pandaboard(OMAP4430 ARMv7).
the problem is:
I crosscompiled the linux kernel and Gentoo stage3 from ARM and they work;
whereas I crosscompiled LTTng2.0.2 modules and I copied them (all "*.ko" files) to pandaboard  (directory   /lib/modules). Then I tried using #depmode -a , but it fails (killed). Look hereunder:

localhost ~ # lttng                                                             
-bash: lttng: command not found                                                 
localhost ~ # cd /lib/modules                                                   
localhost modules # ls                                                          
3.0.27-rt46                                                                     
localhost modules # cd 3.0.27-rt46/                                             
localhost 3.0.27-rt46 # ls                                                      
build              modules.ccwmap       modules.inputmap   modules.softdep      
linux              modules.dep          modules.isapnpmap  modules.symbols      
misc               modules.dep.bin      modules.ofmap      modules.symbols.bin  
modules.alias      modules.devname      modules.pcimap     modules.usbmap       
modules.alias.bin  modules.ieee1394map  modules.seriomap                        
localhost 3.0.27-rt46 # depmod -a                                               
Killed                                                                          
localhost 3.0.27-rt46 # cd misc                                                 
localhost misc # ls                                                             
lib                                                                             
lttng-lib-ring-buffer.ko                                                        
lttng-ring-buffer-client-discard.ko                                             
lttng-ring-buffer-client-mmap-discard.ko                                        
lttng-ring-buffer-client-mmap-overwrite.ko                                      
lttng-ring-buffer-client-overwrite.ko                                           
lttng-ring-buffer-metadata-client.ko                                            
lttng-ring-buffer-metadata-mmap-client.ko                                       
lttng-statedump.ko                                                              
lttng-tracer.ko                                                                 
probes                                                                          
localhost misc # depmod -a                                                      
Killed            


So the question is: how to install LTTng packages on embedded gentoo on the Pandaboard? Any idea about patching the kernel ( lttng.org told me the lttng2.0.2 is not a patch but addtional modules, differently from the previous version that was a kernel patch)?
So is there a way to use LTTng on Gentoo? The official site has only instructions for Debian, but I use Gentoo. So it is a Gentoo question...
Comment 5 Christopher Harvey 2012-05-10 16:18:54 UTC
In repy to comment #4:

no dmesg output when calling depmod?
have you tried update-modules -f?
When I wrote this bug report it was for lttng<2.0, so this doesn't really pertain.
Bug reports are for working towards fixing bugs, not helping users with unsupported packages. If you have a working ebuild please post it.
Comment 6 Yixun Lan archtester gentoo-dev 2012-08-05 13:44:36 UTC
(In reply to comment #5)
> In repy to comment #4:
> 
> no dmesg output when calling depmod?
> have you tried update-modules -f?
> When I wrote this bug report it was for lttng<2.0, so this doesn't really
> pertain.
> Bug reports are for working towards fixing bugs, not helping users with
> unsupported packages. If you have a working ebuild please post it.

hi, chris, lttng-2.0 is released, do you have any plan to make your ebuilds up to date, also I've a few lttng ebuilds (live version) settle on my own overlay....
Comment 7 Christopher Harvey 2012-08-05 14:22:30 UTC
(In reply to comment #6)
> hi, chris, lttng-2.0 is released, do you have any plan to make your ebuilds
> up to date, also I've a few lttng ebuilds (live version) settle on my own
> overlay....

no, sorry. I'm not LTTGing right now.
Comment 8 Yixun Lan archtester gentoo-dev 2012-08-05 14:35:01 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > hi, chris, lttng-2.0 is released, do you have any plan to make your ebuilds
> > up to date, also I've a few lttng ebuilds (live version) settle on my own
> > overlay....
> 
> no, sorry. I'm not LTTGing right now.

To chis:
fine, I'd like take over this..


To Gentoo Devs:
 should I open a new bug, or reuse this as tracking ...

the possible ebuilds I'd like add to tree is:

LTTng 2.0 "Annedd'ale" - Tracer toolchain

LTTng-tools 2.0.4 
LTTng-modules 2.0.4
LTTng-UST 2.0.4

liburcu (dev-libs/userspace-rcu already in tree)
Babeltrace 1.0-rc4
LTTngTop 0.2
LTTV 0.12.38
Comment 9 Yixun Lan archtester gentoo-dev 2014-03-04 07:00:49 UTC
following ebuilds already in tree
LTTng-tools 2.4.0 
LTTng-modules 2.4.0
LTTng-UST 2.4.0
Babeltrace 1.2.0

leave out LTTngTop, and LTTV (please open another bug if necessary)