[ltt-dev] ioctl and tracing over nfs

Mathieu Desnoyers compudj at krystal.dyndns.org
Sun May 3 20:24:38 EDT 2009


* Gorka Gorka (moikagior at hotmail.com) wrote:
> 
> Dear LTTng users,
> 
> I'm trying to trace my development board (mini2440,FriendlyARM based on Samsung S3C2440 processor) but i can't get the lttd daemon to start. I'm using the 2.6.29-rc7 kernel.
> 
> I followed the LTTng website's instructions but the start command (lttctl -C -w /tmp/trace1 trace1) didn't succeeded.
> 
> I tried to start manually the lttd daemon with this command : lttd -t /tmp/trace2 -c /mnt/debugfs/ltt/ -a -N 1 -v but after directories creation i get this error :
> 
> ....
> Appending to file /tmp/trace2/markers/syscall_state/sys_call_table/enable as requested
> Channel file : /mnt/debugfs/ltt//destroy_trace
> Opening file.
> Appending to file /tmp/trace2/destroy_trace as requested
> Channel file : /mnt/debugfs/ltt//setup_trace
> Opening file.
> Appending to file /tmp/trace2/setup_trace as requested
> Channel file : /mnt/debugfs/ltt//control
> Entering channel subdirectory...
> Creating trace subdirectory /tmp/trace2/control
> Adding inotify for channel /mnt/debugfs/ltt//control/
> Added inotify for channel /mnt/debugfs/ltt//control/, wd 174
> Error in getting the number of subbuffers: Inappropriate ioctl for device
> 
> The filesystem is mounted over NFS protocol, could it be the reason of this error ? 
> 
> Regards,
> 
> Kagior
> 

What LTTng / ltt-control versions are you using ?

Also, using :

lttctl -C trace1
lttd -t /tmp/trace2 -c /mnt/debugfs/ltt/trace1 -a -N 1 -v

would be more appropriate for your test.


Mathieu

> 
> 
>  
> _________________________________________________________________
> Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
> 
> http://www.microsoft.com/windows/windowslive/products/photos.aspx
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev


-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68




More information about the lttng-dev mailing list