[ltt-dev] ltt-control 0.67 "Connecting all markers" reports error
srikanth krishnakar
skrishnakar at gmail.com
Thu Jun 4 12:05:06 EDT 2009
Hi Mathieu,
I have entry in /etc/fstab as :
debugfs /mnt/debugfs debugfs rw 0 0
On Thu, Jun 4, 2009 at 9:26 PM, Mathieu Desnoyers
<compudj at krystal.dyndns.org> wrote:
> * srikanth krishnakar (skrishnakar at gmail.com) wrote:
>> Hi Mathieu,
>>
>> Linux kernel-2.6.29
>>
>> Using ltt-control-0.67, on PPC32 target, running ltt-armall reports
>> the following error:
>>
>> root at ppc405:~# ltt-armall
>> awk: (FILENAME=- FNR=1) fatal: attempt to access field -1
>> Connecting all markers
>> Connecting /ltt/markers/*/*
>> /usr/bin/ltt-armall: line 25: can't create /ltt/markers/*/*/enable:
>> nonexistent directory
>>
>>
>> root at ppc405:~# ltt-armall
>> Connecting all markers
>> Connecting debugfs/*
>> /usr/bin/ltt-armall: line 25: can't create debugfs/*/enable:
>> nonexistent directory
>> Connecting /mnt/debugfs/bdi
>> /usr/bin/ltt-armall: line 25: can't create /mnt/debugfs/bdi/enable:
>> Permission denied
>> Connecting /mnt/debugfs/gpio
>> /usr/bin/ltt-armall: line 25: can't create /mnt/debugfs/gpio/enable:
>> nonexistent directory
>> Connecting /mnt/debugfs/kprobes
>> /usr/bin/ltt-armall: line 25: can't create
>> /mnt/debugfs/kprobes/enable: Permission denied
>> Connecting /mnt/debugfs/ltt
>> /usr/bin/ltt-armall: line 25: can't create /mnt/debugfs/ltt/enable:
>> Permission denied
>> Connecting /mnt/debugfs/powerpc
>> /usr/bin/ltt-armall: line 25: can't create
>> /mnt/debugfs/powerpc/enable: Permission denied
>> Connecting /mnt/debugfs/sched_features
>> /usr/bin/ltt-armall: line 25: can't create
>> /mnt/debugfs/sched_features/enable: nonexistent directory
>> Connecting /mnt/debugfs/tracing
>> /usr/bin/ltt-armall: line 25: can't create
>> /mnt/debugfs/tracing/enable: Permission denied
>> Connecting debugfs/*
>> /usr/bin/ltt-armall: line 25: can't create debugfs/*/enable:
>> nonexistent directory
>> Connecting rw/*
>> /usr/bin/ltt-armall: line 25: can't create rw/*/enable: nonexistent directory
>> Connecting 0/*
>> /usr/bin/ltt-armall: line 25: can't create 0/*/enable: nonexistent directory
>> Connecting 0/ltt/markers/*/*
>> /usr/bin/ltt-armall: line 25: can't create 0/ltt/markers/*/*/enable:
>> nonexistent directory
>> root at ppc405:~#
>>
>> Is it the issue related to file system permission settings.
>>
>
> I would first look at /mnt/debugfs to see if it is mounted..
>
> was is your
>
So now listing /mnt/debugfs:
root at ppc405:~# ls -F /mnt/debugfs/
bdi/ gpio kprobes/ ltt/ powerpc/ sched_features tracing/
> # mount
> output ?
>
root at ppc405:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type nfs
(rw,vers=2,rsize=4096,wsize=4096,namlen=255,hard,nointr,nolock,proto=udp,timeo=11,retrans=3,sec=sys,addr=10.1)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /dev type tmpfs (rw,mode=755)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /var/volatile type tmpfs (rw)
tmpfs on /dev/shm type tmpfs (rw,mode=777)
tmpfs on /media/ram type tmpfs (rw)
debugfs on /mnt/debugfs type debugfs (rw)
/dev/xsa2 on /media/xsa2 type ext3 (rw,sync,errors=continue,data=ordered)
/dev/xsa1 on /media/xsa1 type vfat
(rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
root at ppc405:~#
> and
>
> # find /mnt/debugfs
root at ppc405:~# ls /mnt/debugfs/kprobes/
enabled list
root at ppc405:~# ls /mnt/debugfs/sched_features
/mnt/debugfs/sched_features
root at ppc405:~# cat /mnt/debugfs/sched_features
NEW_FAIR_SLEEPERS NORMALIZED_SLEEPER WAKEUP_PREEMPT START_DEBIT
AFFINE_WAKEUPS CACHE_HOT_BUDDY SYNC_WAKEUPS NO_HRTICK NO_DOUBLE_TICK
root at ppc405:~#
So it continues, in others...
>
> ?
>
> Then check to make sure all lttng modules are loaded, especially the
> ones which populate debugfs with the LTTng API.
>
All the options are made as built-in. So more modules.
root at ppc405:~# zcat /proc/config.gz | grep LTT
CONFIG_LTT=y
CONFIG_LTT_FILTER=y
# CONFIG_HAVE_LTT_DUMP_TABLES is not set
CONFIG_LTT_RELAY_ALLOC=y
CONFIG_LTT_RELAY_LOCKLESS=y
# CONFIG_LTT_RELAY_IRQOFF is not set
# CONFIG_LTT_RELAY_LOCKED is not set
CONFIG_LTT_SERIALIZE=y
CONFIG_LTT_FAST_SERIALIZE=y
CONFIG_LTT_TRACEPROBES=y
CONFIG_LTT_TRACE_CONTROL=y
CONFIG_LTT_TRACER=y
# CONFIG_LTT_ALIGNMENT is not set
CONFIG_LTT_CHECK_ARCH_EFFICIENT_UNALIGNED_ACCESS=y
# CONFIG_LTT_DEBUG_EVENT_SIZE is not set
CONFIG_LTT_USERSPACE_EVENT=y
CONFIG_LTT_VMCORE=y
CONFIG_LTT_KPROBES=y
CONFIG_LTT_STATEDUMP=y
# CONFIG_LTT_ASCII is not set
> Mathieu
>
>
>
>> Regards
>> Srikanth Krishnakar
>> **********************
>>
>> _______________________________________________
>> 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
>
--
"The Good You Do, The Best You GET"
Regards
Srikanth Krishnakar
**********************
More information about the lttng-dev
mailing list