[ltt-dev] ** ERROR **: Kernel/LTTV event size differs for event tree_call_rcu_bh

Alexandre Montplaisir alexandre.montplaisir at polymtl.ca
Thu Dec 16 14:50:29 EST 2010


On 10-12-16 10:38 AM, Naresh Bhat wrote:
> *root at x86-generic:~# ls -l /usr/lib/libltt*
> lrwxrwxrwx 1 root root    18 Dec 16 14:06 /usr/lib/liblttctl.so.0 ->
> liblttctl.so.0.0.0
> -rwxr-xr-x 1 root root 12560 Dec 13 10:49 /usr/lib/liblttctl.so.0.0.0
> -rwxr-xr-x 1 root root 34580 Dec 16 14:02 /usr/lib/liblttvtraceread-2.6.so
> -rwxr-xr-x 1 root root  1103 Dec 16 14:02 /usr/lib/liblttvtraceread.la
> lrwxrwxrwx 1 root root    23 Dec 16 14:06 /usr/lib/liblttvtraceread.so ->
> liblttvtraceread-2.6.so
> root at x86-generic:~#*
>

Is this really your /usr/lib ?  (And not /usr/local/lib) ?

You installed a version from the packages didn't you? Or did you just
manually install them in /usr/lib ?
Like Yannick said, that probably explains the error you were getting :
you were generating traces in the 2.5 format but the trace reading
library was expecting 2.6

>> An alternative would be to update to a more recent version. You
>> mentioned in your previous email you are using kernel 2.6.32.21.  You
>> should be able to patch it with LTTng version 0.198 without too much
>> problems.
>> http://lttng.org/files/lttng/patch-2.6.32.9-lttng-0.198.tar.bz2
>>
>> This will generate patches using the trace format 2.6. You could then
>> use lttctl 0.87 and LTTV 0.12.36. Make sure you "make uninstall" the old
>> versions before installing those.
>>
> With the * 2.6.32.9-lttng-0.198, ltt-control-0.87-09062010.tar.gz,
> lttv-0.12.36-18112010.tar.gz* I am getting the following error message

Can you post you script?

Then try again but making sure you only have 1 version of each tool
installed, either from packages or from sources.

-- 
Alexandre Montplaisir
DORSAL lab,
École Polytechnique de Montréal





More information about the lttng-dev mailing list