Importance (or not) of kernel modules dynamic instrumentation through systemtap

2011-04-14 Thread Frederic Turgis
Hi all, systemtap allows instrumenting dynamically kernel functions with the interest of a scripting language that gives access to function parameters or the capability to directly write C code. https://wiki.linaro.org/Platform/DevPlatform/systemtap I have backported/implemented the support of 2.

Re: inline assembly / uaccess.h / __put_user_asm_dword / "invalid lvalue output in asm 1"

2011-04-13 Thread Frederic Turgis
Hi, On 13 April 2011 04:08, Nicolas Pitre wrote: > On Wed, 13 Apr 2011, Frederic Turgis wrote: > > those macros.  If you do something like: > > int blah(int foo, long long *ptr1, long long *ptr2) > { >        int err = 0; >        __stp_put_user_asm_dword(0

inline assembly / uaccess.h / __put_user_asm_dword / "invalid lvalue output in asm 1"

2011-04-12 Thread Frederic Turgis
Hi, In the context of systemtap testsuite, I had some compilation issues "invalid lvalue output in asm 1". I have root-caused that to code in the tool that is a (old) duplicate of arch/arm/include/asm/uaccess.h macro __put_user_asm_dword(x, __pu_addr, err) => 64bits storage. __pu_addr is storage a

Re: UTRACE/UPROBE support on ARM

2011-04-12 Thread Frederic Turgis
Last check to see if anyone had any interest in utrace in the past ;-) FYI, utrace page has moved to http://userweb.kernel.org/~frob/utrace/ Regards Fred ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/l

UTRACE/UPROBE support on ARM

2011-03-29 Thread Frederic Turgis
Hi all, In the scope of my work on systemtap, I would like to have a look to its user-space instrumentation capabilities. Systemtap relies on uprobes+utrace for that purpose so has anyone some feedback/global view on these with regards to ARM ? utrace did not make it into the mainline and would n

Re: linaro-omap kernel 1003.6 boot failure

2011-02-22 Thread Frederic Turgis
thanks for the help Paul Larson answered in parallel thread (using my linaro.org mail address now that I have again access to it ;-) ) Regards Fred On 22 February 2011 18:28, Tom Gall wrote: > Is this the same as : > > https://bugs.launchpad.net/ubuntu/+source/linux-linaro/+bug/720055 > > Rega

linaro-omap kernel 1003.6 boot failure

2011-02-22 Thread Frederic Turgis
Hi, To perform some systemtap checking, I needed kernel package with debug symbols, which is available in 1003.6 version from http://ddebs.ubuntu.com/pool/universe/l/linux-linaro-omap/ So I did some apt-get update, install linux-image-2.6.37-1003-linaro-omap followed by flash-kernel 2.6.37-1003-li

Re: Availability of kernel .config, Module.symvers and vmlinux in a package ?

2011-02-08 Thread Frederic Turgis
nable systemtap users just after package installation instead of "after kernel recompilation". Regards Fred On 3 February 2011 16:23, Frederic Turgis wrote: > Hi, > > I have the task to check systemtap behaviour. It requires .config > (found in /boot so OK), Module.symvers

Test2 - please discard

2011-02-03 Thread Frederic Turgis
Set again option "Receive your own posts ?" setting to yes fred ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

Test - please discard

2011-02-03 Thread Frederic Turgis
Test fred ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

Availability of kernel .config, Module.symvers and vmlinux in a package ?

2011-02-03 Thread Frederic Turgis
Hi, I have the task to check systemtap behaviour. It requires .config (found in /boot so OK), Module.symvers and vmlinux. Well, I could recompile the kernel but I have been used getting these packaged by our integration team at Texas Instruments ;-) I am wondering if these shall not be provided t