This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SystemTap for Android - patchset


On 07.07.2016 19:39, David Smith wrote:
OK, I'll believe you. However, your fix above still isn't correct. The
whole point of autoconf-asm-syscall.c is to test if asm/syscall.h exists
and is usable. If so, STAPCONF_ASM_SYSCALL_H will get defined. If
autoconf-asm-syscall.c doesn't compile correctly, then
STAPCONF_ASM_SYSCALL_H won't be defined.

What needs to happen next here is for you to back out this change,
recompile systemtap, then try to compile a few systemtap scripts. We'll
need to see the errors to know what to fix. I'd guess we'll need to test
STAPCONF_ASM_SYSCALL_H in some more places.
Ok. Here is the error message I get:
/tmp/stapE7HrAi/alexv9_src.c: In function 'function___global__stp_syscall_nr__overload_0': /tmp/stapE7HrAi/alexv9_src.c:7975:2: error: implicit declaration of function '_stp_syscall_get_nr'

I tested three scripts so far. All of them do not compile due to the above error.
Do you need one of the scripts?

- Alex


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]