public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Arm Fedora 18 systemtap test results
@ 2012-11-20 16:27 William Cohen
  2012-11-23 12:25 ` Frank Ch. Eigler
  0 siblings, 1 reply; 6+ messages in thread
From: William Cohen @ 2012-11-20 16:27 UTC (permalink / raw)
  To: systemtap

Hi All,

I have a Fedora 18 arm environment set up and ran the systemtap tests
on the git repo and posted them to dejazilla:

http://web.elastic.org/~dejazilla/viewsummary.php?summary=%3D%27%3C50AA4163.6010409%40redhat.com%3E%27

I reviewed the results to see how the tests were failing on ARM.

Almost half of the test that failed flagged that CONFIG_UTRACE
or CONFIG_TRACEPOINTS/CONFIG_ARCH_SUPORT_UPROBES/CONFIG_UPROBES are
needed.  However, these scripts are not using tracepoints or userspace
probe points. It looks like the problem is being triggered by the use
of some taspset functions.

Some of the systemtap server tests fail.  I think that this is due to
the configuration of the machine getting different host names and not
being able to find the proper certificates.

Below is an attempt to group the various failure modes of the tests.

-Will





non-functioning get_cycles()
FAIL: gtod (0)
FAIL: OVERLOAD2 no expected error

No "-O" with "-D_FORTIFY_SOURCE=2" **
FAIL: compiling setjmp.c  -D_FORTIFY_SOURCE=2
FAIL: compiling setjmp.c -DSIGJMP -D_FORTIFY_SOURCE=2
FAIL: compiling setjmp.c -DUNDERJMP -D_FORTIFY_SOURCE=2


missing task_finder related functions
FAIL: vma_vdsodefault
FAIL: ./systemtap.examples/profiling/pf3 build
FAIL: buildok/thirtythree.stp
FAIL: buildok/ucontext-embedded.stp

no uprobe support in the arm kernel
FAIL: prcwildcard function
FAIL: utf_user
FAIL: ./systemtap.examples/process/ltrace build


probed functions not available or found in the kernel
FAIL: ./systemtap.examples/network/tcpipstat build (ip_route_input inlined)
FAIL: buildok/ipmib-all-probes.stp (ip_route_input inlined)
FAIL: buildok/ipmib-detailed.stp (ip_route_input inlined)
FAIL: buildok/nfs-all-probes.stp (nfs.proc3.commit_done)
FAIL: buildok/syscalls-arch-detailed.stp (arm missing syscall.sigaltstack) **
FAIL: buildok/eighteen.stp (can't find kernel.function(**audit_getname")

context variables not found
FAIL: buildok/tcp-all-probes.stp  ($optname not found for tcp.ipv4.setsockopt)
FAIL: buildok/tcp-detailed.stp ($level not found for tcp.ipv4.setsockopt)


flagged as needing
user-space facilities not available without kernel CONFIG_UTRACE or CONFIG_TRACEPOINTS/CONFIG_ARCH_SUPPORTS_UPROBES/CONFIG_UPROBES

FAIL: bad-code
FAIL: poll_map (0)
FAIL: compiling pr10854.stp: user-space facilities not available without kernel CONFIG_UTRACE or CONFIG_TRACEPOINTS/CONFIG_ARCH_SUPPORTS_UPROBES/CONFIG_UPROBES
FAIL: probefunc:.statement.(0xaddr).absolute startup (eof)
FAIL: probefunc:kernel.function("scheduler_tick") startup (eof)
FAIL: probefunc:kernel.function("context_switch").inline startup (eof)
FAIL: utf_pretty
FAIL: utf_user_trunc
FAIL: ./systemtap.examples/general/para-callgraph-verbose build
FAIL: ./systemtap.examples/general/para-callgraph build
FAIL: ./systemtap.examples/io/inodewatch build
FAIL: ./systemtap.examples/io/inodewatch2 build
FAIL: ./systemtap.examples/io/traceio2 build
FAIL: ./systemtap.examples/network/socket-trace build
FAIL: ./systemtap.examples/process/auditbt build
FAIL: ./systemtap.examples/profiling/fntimes build
FAIL: ./systemtap.examples/profiling/functioncallcount build
FAIL: buildok/context-symbols-embedded.stp
FAIL: buildok/memory.stp
FAIL: buildok/nd_syscalls-all-probes.stp
FAIL: buildok/nd_syscalls2-detailed.stp
FAIL: buildok/scsi-detailed.stp
FAIL: 32-bit access nd_syscall
FAIL: 32-bit acct nd_syscall
FAIL: 32-bit alarm nd_syscall
FAIL: 32-bit chmod nd_syscall
FAIL: 32-bit clock nd_syscall
FAIL: 32-bit dir nd_syscall
FAIL: 32-bit dup nd_syscall
FAIL: 32-bit eventfd nd_syscall
FAIL: 32-bit forkwait nd_syscall
FAIL: 32-bit futimes nd_syscall
FAIL: 32-bit inotify nd_syscall
FAIL: 32-bit itimer nd_syscall
FAIL: 32-bit link nd_syscall
FAIL: 32-bit mmap nd_syscall
FAIL: 32-bit mount nd_syscall
FAIL: 32-bit net1 nd_syscall
FAIL: 32-bit openclose nd_syscall
FAIL: 32-bit pipe nd_syscall
FAIL: 32-bit poll nd_syscall
FAIL: 32-bit readwrite nd_syscall
FAIL: 32-bit rt_signal nd_syscall
FAIL: 32-bit select nd_syscall
FAIL: 32-bit sendfile nd_syscall
FAIL: 32-bit signal nd_syscall
FAIL: 32-bit signalfd nd_syscall
FAIL: 32-bit stat nd_syscall
FAIL: 32-bit statfs nd_syscall
FAIL: 32-bit swap nd_syscall
FAIL: 32-bit sync nd_syscall
FAIL: 32-bit timer nd_syscall
FAIL: 32-bit trunc nd_syscall
FAIL: 32-bit uid nd_syscall
FAIL: 32-bit umask nd_syscall
FAIL: 32-bit unlink nd_syscall
FAIL: 32-bit alarm syscall
FAIL: 32-bit stat syscall


networking configuration problems causing the server tests to fail:
FAIL: Hello from server
FAIL: Module was created with --unprivileged
FAIL: Module was signed with --unprivileged
FAIL: Module was created with --privilege=stapusr
FAIL: Module was signed with --privilege=stapusr
FAIL: Module was created with --privilege=stapsys
FAIL: Module was signed with --privilege=stapsys
FAIL: Server Argument Test 6
FAIL: Server Argument Test 7
FAIL: Server Argument Test 15
FAIL: Server Argument Test 18
FAIL: Server Argument Test 21
FAIL: Server Argument Test 22
FAIL: Fuzzing Server Argument Test 3
FAIL: Embedded '\n' in Env Vars
FAIL: Embedded ';' in Env Vars
FAIL: Use of '_.-@=' in Env Vars
FAIL: LANG Proper Syntax Test (French)
FAIL: LANG Proper Syntax Test (English)
FAIL: LANG Bad Syntax Test (French)
FAIL: LANG Bad Syntax Test (English)
FAIL: LANG Proper Syntax Test (French, -k)
FAIL: LANG Proper Syntax Test (English, -k)
FAIL: LANG Bad Syntax Test (French, -k)
FAIL: LANG Bad Syntax Test (English, -k)
FAIL: LC_ALL Proper Syntax Test (French)
FAIL: LC_ALL Proper Syntax Test (English)
FAIL: LC_ALL Bad Syntax Test (French)
FAIL: LC_ALL Bad Syntax Test (English)
FAIL: LC_ALL Proper Syntax Test (French, -k)
FAIL: LC_ALL Proper Syntax Test (English, -k)
FAIL: LC_ALL Bad Syntax Test (French, -k)
FAIL: LC_ALL Bad Syntax Test (English, -k)


Uncategorized
FAIL: backtrace-unwindsyms (0 0)
FAIL: global_end (11)
FAIL: pr13158: Inserting 2 Identical Modules: Staprun without -R
FAIL: pr13306 -t (2 0)
FAIL: pr13306 --suppress-handler-errors -t (1 0)
FAIL: PROCFS_BUFFER1 startup (eof)
FAIL: stmt_rel wildcard (2)
FAIL: utf_kernel
FAIL: utf_kernel_trunc
FAIL: int64 function arguments -- numeric

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Arm Fedora 18 systemtap test results
  2012-11-20 16:27 Arm Fedora 18 systemtap test results William Cohen
@ 2012-11-23 12:25 ` Frank Ch. Eigler
  2012-11-26 17:39   ` David Smith
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Ch. Eigler @ 2012-11-23 12:25 UTC (permalink / raw)
  To: William Cohen; +Cc: systemtap


Hi, Will -

wcohen wrote:

> I have a Fedora 18 arm environment set up and ran the systemtap tests
> on the git repo and posted them to dejazilla: [...]

Thank you.


> probed functions not available or found in the kernel
> FAIL: ./systemtap.examples/network/tcpipstat build (ip_route_input inlined)
> FAIL: buildok/ipmib-all-probes.stp (ip_route_input inlined)
> FAIL: buildok/ipmib-detailed.stp (ip_route_input inlined)
> FAIL: buildok/nfs-all-probes.stp (nfs.proc3.commit_done)
> FAIL: buildok/syscalls-arch-detailed.stp (arm missing syscall.sigaltstack) **
> FAIL: buildok/eighteen.stp (can't find kernel.function(**audit_getname")

Could you fix these, but changing the testsuite to (also?) look for
something that does exist on these ARM kernels?


> flagged as needing
> user-space facilities not available without kernel CONFIG_UTRACE or CONFIG_TRACEPOINTS/CONFIG_ARCH_SUPPORTS_UPROBES/CONFIG_UPROBES
>
> FAIL: bad-code
> FAIL: poll_map (0)
> FAIL: compiling pr10854.stp: user-space facilities not available without kernel CONFIG_UTRACE or CONFIG_TRACEPOINTS/CONFIG_ARCH_SUPPORTS_UPROBES/CONFIG_UPROBES
> FAIL: probefunc:.statement.(0xaddr).absolute startup (eof)
> FAIL: probefunc:kernel.function("scheduler_tick") startup (eof)
> FAIL: probefunc:kernel.function("context_switch").inline startup (eof)
> FAIL: utf_pretty
> FAIL: utf_user_trunc
> FAIL: ./systemtap.examples/general/para-callgraph-verbose build
> FAIL: ./systemtap.examples/general/para-callgraph build
> FAIL: ./systemtap.examples/io/inodewatch build
> FAIL: ./systemtap.examples/io/inodewatch2 build
> FAIL: ./systemtap.examples/io/traceio2 build
> FAIL: ./systemtap.examples/network/socket-trace build
> FAIL: ./systemtap.examples/process/auditbt build
> FAIL: ./systemtap.examples/profiling/fntimes build
> FAIL: ./systemtap.examples/profiling/functioncallcount build
> FAIL: buildok/context-symbols-embedded.stp
> FAIL: buildok/memory.stp
> FAIL: buildok/nd_syscalls-all-probes.stp
> FAIL: buildok/nd_syscalls2-detailed.stp
> FAIL: buildok/scsi-detailed.stp
> FAIL: 32-bit access nd_syscall
> FAIL: 32-bit acct nd_syscall
> FAIL: 32-bit alarm nd_syscall
> FAIL: 32-bit chmod nd_syscall
> FAIL: 32-bit clock nd_syscall
> FAIL: 32-bit dir nd_syscall
> FAIL: 32-bit dup nd_syscall
> FAIL: 32-bit eventfd nd_syscall
> FAIL: 32-bit forkwait nd_syscall
> FAIL: 32-bit futimes nd_syscall
> FAIL: 32-bit inotify nd_syscall
> FAIL: 32-bit itimer nd_syscall
> FAIL: 32-bit link nd_syscall
> FAIL: 32-bit mmap nd_syscall
> FAIL: 32-bit mount nd_syscall
> FAIL: 32-bit net1 nd_syscall
> FAIL: 32-bit openclose nd_syscall
> FAIL: 32-bit pipe nd_syscall
> FAIL: 32-bit poll nd_syscall
> FAIL: 32-bit readwrite nd_syscall
> FAIL: 32-bit rt_signal nd_syscall
> FAIL: 32-bit select nd_syscall
> FAIL: 32-bit sendfile nd_syscall
> FAIL: 32-bit signal nd_syscall
> FAIL: 32-bit signalfd nd_syscall
> FAIL: 32-bit stat nd_syscall
> FAIL: 32-bit statfs nd_syscall
> FAIL: 32-bit swap nd_syscall
> FAIL: 32-bit sync nd_syscall
> FAIL: 32-bit timer nd_syscall
> FAIL: 32-bit trunc nd_syscall
> FAIL: 32-bit uid nd_syscall
> FAIL: 32-bit umask nd_syscall
> FAIL: 32-bit unlink nd_syscall
> FAIL: 32-bit alarm syscall
> FAIL: 32-bit stat syscall

These should more or less work; could you dig a bit deeper as to why
they don't?


- FChE

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Arm Fedora 18 systemtap test results
  2012-11-23 12:25 ` Frank Ch. Eigler
@ 2012-11-26 17:39   ` David Smith
  2012-12-03 22:39     ` William Cohen
  0 siblings, 1 reply; 6+ messages in thread
From: David Smith @ 2012-11-26 17:39 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: William Cohen, systemtap

On 11/23/2012 06:25 AM, Frank Ch. Eigler wrote:
> 
> Hi, Will -
> 
> wcohen wrote:
> 
>> I have a Fedora 18 arm environment set up and ran the systemtap tests
>> on the git repo and posted them to dejazilla: [...]
> 
> Thank you.
> 
> 
>> probed functions not available or found in the kernel
>> FAIL: ./systemtap.examples/network/tcpipstat build (ip_route_input inlined)
>> FAIL: buildok/ipmib-all-probes.stp (ip_route_input inlined)
>> FAIL: buildok/ipmib-detailed.stp (ip_route_input inlined)
>> FAIL: buildok/nfs-all-probes.stp (nfs.proc3.commit_done)
>> FAIL: buildok/syscalls-arch-detailed.stp (arm missing syscall.sigaltstack) **
>> FAIL: buildok/eighteen.stp (can't find kernel.function(**audit_getname")
> 
> Could you fix these, but changing the testsuite to (also?) look for
> something that does exist on these ARM kernels?
> 
> 
>> flagged as needing
>> user-space facilities not available without kernel CONFIG_UTRACE or CONFIG_TRACEPOINTS/CONFIG_ARCH_SUPPORTS_UPROBES/CONFIG_UPROBES
>>
>> FAIL: bad-code
>> FAIL: poll_map (0)
>> FAIL: compiling pr10854.stp: user-space facilities not available without kernel CONFIG_UTRACE or CONFIG_TRACEPOINTS/CONFIG_ARCH_SUPPORTS_UPROBES/CONFIG_UPROBES
>> FAIL: probefunc:.statement.(0xaddr).absolute startup (eof)
>> FAIL: probefunc:kernel.function("scheduler_tick") startup (eof)
>> FAIL: probefunc:kernel.function("context_switch").inline startup (eof)
>> FAIL: utf_pretty
>> FAIL: utf_user_trunc
>> FAIL: ./systemtap.examples/general/para-callgraph-verbose build
>> FAIL: ./systemtap.examples/general/para-callgraph build
>> FAIL: ./systemtap.examples/io/inodewatch build
>> FAIL: ./systemtap.examples/io/inodewatch2 build
>> FAIL: ./systemtap.examples/io/traceio2 build
>> FAIL: ./systemtap.examples/network/socket-trace build
>> FAIL: ./systemtap.examples/process/auditbt build
>> FAIL: ./systemtap.examples/profiling/fntimes build
>> FAIL: ./systemtap.examples/profiling/functioncallcount build
>> FAIL: buildok/context-symbols-embedded.stp
>> FAIL: buildok/memory.stp
>> FAIL: buildok/nd_syscalls-all-probes.stp
>> FAIL: buildok/nd_syscalls2-detailed.stp
>> FAIL: buildok/scsi-detailed.stp
>> FAIL: 32-bit access nd_syscall
>> FAIL: 32-bit acct nd_syscall
>> FAIL: 32-bit alarm nd_syscall
>> FAIL: 32-bit chmod nd_syscall
>> FAIL: 32-bit clock nd_syscall
>> FAIL: 32-bit dir nd_syscall
>> FAIL: 32-bit dup nd_syscall
>> FAIL: 32-bit eventfd nd_syscall
>> FAIL: 32-bit forkwait nd_syscall
>> FAIL: 32-bit futimes nd_syscall
>> FAIL: 32-bit inotify nd_syscall
>> FAIL: 32-bit itimer nd_syscall
>> FAIL: 32-bit link nd_syscall
>> FAIL: 32-bit mmap nd_syscall
>> FAIL: 32-bit mount nd_syscall
>> FAIL: 32-bit net1 nd_syscall
>> FAIL: 32-bit openclose nd_syscall
>> FAIL: 32-bit pipe nd_syscall
>> FAIL: 32-bit poll nd_syscall
>> FAIL: 32-bit readwrite nd_syscall
>> FAIL: 32-bit rt_signal nd_syscall
>> FAIL: 32-bit select nd_syscall
>> FAIL: 32-bit sendfile nd_syscall
>> FAIL: 32-bit signal nd_syscall
>> FAIL: 32-bit signalfd nd_syscall
>> FAIL: 32-bit stat nd_syscall
>> FAIL: 32-bit statfs nd_syscall
>> FAIL: 32-bit swap nd_syscall
>> FAIL: 32-bit sync nd_syscall
>> FAIL: 32-bit timer nd_syscall
>> FAIL: 32-bit trunc nd_syscall
>> FAIL: 32-bit uid nd_syscall
>> FAIL: 32-bit umask nd_syscall
>> FAIL: 32-bit unlink nd_syscall
>> FAIL: 32-bit alarm syscall
>> FAIL: 32-bit stat syscall
> 
> These should more or less work; could you dig a bit deeper as to why
> they don't?

As far as the nd_syscall tests go, I'll bet a good number of those
failures go back to the ARM version of  _stp_arg() only supporting args
1-4 (http://sourceware.org/bugzilla/show_bug.cgi?id=14325).

The 2 syscall failures could use some investigation.

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Arm Fedora 18 systemtap test results
  2012-11-26 17:39   ` David Smith
@ 2012-12-03 22:39     ` William Cohen
  2012-12-04 20:44       ` Frank Ch. Eigler
  0 siblings, 1 reply; 6+ messages in thread
From: William Cohen @ 2012-12-03 22:39 UTC (permalink / raw)
  To: David Smith; +Cc: Frank Ch. Eigler, systemtap

On 11/26/2012 12:39 PM, David Smith wrote:
> On 11/23/2012 06:25 AM, Frank Ch. Eigler wrote:
>>
>> Hi, Will -
>>
>> wcohen wrote:
>>
>>> I have a Fedora 18 arm environment set up and ran the systemtap tests
>>> on the git repo and posted them to dejazilla: [...]
>>
>> Thank you.
>>
>>
>>> probed functions not available or found in the kernel
>>> FAIL: ./systemtap.examples/network/tcpipstat build (ip_route_input inlined)
>>> FAIL: buildok/ipmib-all-probes.stp (ip_route_input inlined)
>>> FAIL: buildok/ipmib-detailed.stp (ip_route_input inlined)
>>> FAIL: buildok/nfs-all-probes.stp (nfs.proc3.commit_done)
>>> FAIL: buildok/syscalls-arch-detailed.stp (arm missing syscall.sigaltstack) **
>>> FAIL: buildok/eighteen.stp (can't find kernel.function(**audit_getname")
>>
>> Could you fix these, but changing the testsuite to (also?) look for
>> something that does exist on these ARM kernels?

The tcipstat and ipmib*.stp tests failures are due to the tapset probing the ip_route_input function which is inlined on arm.

I will take a look and see what fixes can be done to have the other above tests.

>>
>>
>>> flagged as needing
>>> user-space facilities not available without kernel CONFIG_UTRACE or CONFIG_TRACEPOINTS/CONFIG_ARCH_SUPPORTS_UPROBES/CONFIG_UPROBES
>>>
>>> FAIL: bad-code
>>> FAIL: poll_map (0)
>>> FAIL: compiling pr10854.stp: user-space facilities not available without kernel CONFIG_UTRACE or CONFIG_TRACEPOINTS/CONFIG_ARCH_SUPPORTS_UPROBES/CONFIG_UPROBES
>>> FAIL: probefunc:.statement.(0xaddr).absolute startup (eof)
>>> FAIL: probefunc:kernel.function("scheduler_tick") startup (eof)
>>> FAIL: probefunc:kernel.function("context_switch").inline startup (eof)
>>> FAIL: utf_pretty
>>> FAIL: utf_user_trunc
>>> FAIL: ./systemtap.examples/general/para-callgraph-verbose build
>>> FAIL: ./systemtap.examples/general/para-callgraph build
>>> FAIL: ./systemtap.examples/io/inodewatch build
>>> FAIL: ./systemtap.examples/io/inodewatch2 build
>>> FAIL: ./systemtap.examples/io/traceio2 build
>>> FAIL: ./systemtap.examples/network/socket-trace build
>>> FAIL: ./systemtap.examples/process/auditbt build
>>> FAIL: ./systemtap.examples/profiling/fntimes build
>>> FAIL: ./systemtap.examples/profiling/functioncallcount build
>>> FAIL: buildok/context-symbols-embedded.stp
>>> FAIL: buildok/memory.stp
>>> FAIL: buildok/nd_syscalls-all-probes.stp
>>> FAIL: buildok/nd_syscalls2-detailed.stp
>>> FAIL: buildok/scsi-detailed.stp
>>> FAIL: 32-bit access nd_syscall
>>> FAIL: 32-bit acct nd_syscall
>>> FAIL: 32-bit alarm nd_syscall
>>> FAIL: 32-bit chmod nd_syscall
>>> FAIL: 32-bit clock nd_syscall
>>> FAIL: 32-bit dir nd_syscall
>>> FAIL: 32-bit dup nd_syscall
>>> FAIL: 32-bit eventfd nd_syscall
>>> FAIL: 32-bit forkwait nd_syscall
>>> FAIL: 32-bit futimes nd_syscall
>>> FAIL: 32-bit inotify nd_syscall
>>> FAIL: 32-bit itimer nd_syscall
>>> FAIL: 32-bit link nd_syscall
>>> FAIL: 32-bit mmap nd_syscall
>>> FAIL: 32-bit mount nd_syscall
>>> FAIL: 32-bit net1 nd_syscall
>>> FAIL: 32-bit openclose nd_syscall
>>> FAIL: 32-bit pipe nd_syscall
>>> FAIL: 32-bit poll nd_syscall
>>> FAIL: 32-bit readwrite nd_syscall
>>> FAIL: 32-bit rt_signal nd_syscall
>>> FAIL: 32-bit select nd_syscall
>>> FAIL: 32-bit sendfile nd_syscall
>>> FAIL: 32-bit signal nd_syscall
>>> FAIL: 32-bit signalfd nd_syscall
>>> FAIL: 32-bit stat nd_syscall
>>> FAIL: 32-bit statfs nd_syscall
>>> FAIL: 32-bit swap nd_syscall
>>> FAIL: 32-bit sync nd_syscall
>>> FAIL: 32-bit timer nd_syscall
>>> FAIL: 32-bit trunc nd_syscall
>>> FAIL: 32-bit uid nd_syscall
>>> FAIL: 32-bit umask nd_syscall
>>> FAIL: 32-bit unlink nd_syscall
>>> FAIL: 32-bit alarm syscall
>>> FAIL: 32-bit stat syscall
>>
>> These should more or less work; could you dig a bit deeper as to why
>> they don't?
> 
> As far as the nd_syscall tests go, I'll bet a good number of those
> failures go back to the ARM version of  _stp_arg() only supporting args
> 1-4 (http://sourceware.org/bugzilla/show_bug.cgi?id=14325).

It doesn't even get to run the instrumentation generated from nd_sys.stp. It fails building instrumentation.  The test ends up with errors about task finder function missing for "stap -v nd_sys.stp":

Pass 3: translated to C into "/tmp/stapY57v9M/stap_f864ec247f7b57968d6b57f907c4d848_371100_src.c" using 112488virt/19284res/3440shr/16352data kb, in 880usr/20sys/902real ms.
/tmp/stapY57v9M/stap_f864ec247f7b57968d6b57f907c4d848_371100_src.c: In function ‘systemtap_module_init’:
/tmp/stapY57v9M/stap_f864ec247f7b57968d6b57f907c4d848_371100_src.c:99486:3: error: implicit declaration of function ‘_stp_vma_init’ [-Werror=implicit-function-declaration]
/tmp/stapY57v9M/stap_f864ec247f7b57968d6b57f907c4d848_371100_src.c:99490:5: error: implicit declaration of function ‘stap_start_task_finder’ [-Werror=implicit-function-declaration]
/tmp/stapY57v9M/stap_f864ec247f7b57968d6b57f907c4d848_371100_src.c:99492:7: error: implicit declaration of function ‘stap_stop_task_finder’ [-Werror=implicit-function-declaration]
/tmp/stapY57v9M/stap_f864ec247f7b57968d6b57f907c4d848_371100_src.c:99577:5: error: implicit declaration of function ‘stap_task_finder_post_init’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors

It looks like this is something related to a pragma:vma in tapsets.   The particular kernel for arm doesn't have a uprobes support in it.



> 
> The 2 syscall failures could use some investigation.
> 

The alarm syscall and stat syscall shouldn't be lumped in with the nd_syscall failures.  Some of the output for the tests did not match.

alarm syscall didn't match alarm, pause, and nanosleep syscalls. alarm.c special cases some matches for the ia64.  looks like need to do sometime similar for __arm__.  for alarm() calls.  I checked in a fix for this.

stat syscall fails for a similar string mismatch and a patch has been pushed to fix this.

-Will


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Arm Fedora 18 systemtap test results
  2012-12-03 22:39     ` William Cohen
@ 2012-12-04 20:44       ` Frank Ch. Eigler
  2012-12-05 23:02         ` William Cohen
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Ch. Eigler @ 2012-12-04 20:44 UTC (permalink / raw)
  To: William Cohen; +Cc: David Smith, systemtap

Hi -

wcohen wrote:

> [...]

Thanks for looking into it deeper!

> [...]
> It doesn't even get to run the instrumentation generated from
> nd_sys.stp. It fails building instrumentation.  The test ends up
> with errors about task finder function missing for "stap -v
> nd_sys.stp":
> [...]

Aha, another instance of PR14883: new probefunc() prerequisites.
It seems to me that linux/**/nd_syscalls* should not use probefunc(),
but rather the newer symname(addr()).


- FChE

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Arm Fedora 18 systemtap test results
  2012-12-04 20:44       ` Frank Ch. Eigler
@ 2012-12-05 23:02         ` William Cohen
  0 siblings, 0 replies; 6+ messages in thread
From: William Cohen @ 2012-12-05 23:02 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: David Smith, systemtap

On 12/04/2012 03:43 PM, Frank Ch. Eigler wrote:
> Hi -
> 
> wcohen wrote:
> 
>> [...]
> 
> Thanks for looking into it deeper!
> 
>> [...]
>> It doesn't even get to run the instrumentation generated from
>> nd_sys.stp. It fails building instrumentation.  The test ends up
>> with errors about task finder function missing for "stap -v
>> nd_sys.stp":
>> [...]
> 
> Aha, another instance of PR14883: new probefunc() prerequisites.
> It seems to me that linux/**/nd_syscalls* should not use probefunc(),
> but rather the newer symname(addr()).

Ah, see that a few of the nd_syscall2.stp probes use probefunc(). Fixing that allows the nd_sys.stp to compile.

-Will

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-05 23:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-20 16:27 Arm Fedora 18 systemtap test results William Cohen
2012-11-23 12:25 ` Frank Ch. Eigler
2012-11-26 17:39   ` David Smith
2012-12-03 22:39     ` William Cohen
2012-12-04 20:44       ` Frank Ch. Eigler
2012-12-05 23:02         ` William Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).