[lttng-dev] lttng-modules build issues

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Feb 18 16:14:24 EST 2016


----- On Feb 18, 2016, at 5:09 AM, Dragos Tarcatu <tarcatu_dragosh at yahoo.com> wrote: 

> Hello,

> I'm encountering these compilation errors while trying to build the
> lttng-modules on an nvidia tegra arm64 board:

>> lttng-modules/2.7.1-r1/git/lttng-syscalls.c:358:3: error: implicit declaration
>> of function '__event_probe__compat_syscall_entry_unknown'
>> [-Werror=implicit-function-declaration]
>> | __event_probe__compat_syscall_entry_unknown(event, id, args);

>> lttng-modules/2.7.1-r1/git/lttng-syscalls.c:360:3: error: implicit declaration
>> of function '__event_probe__syscall_entry_unknown'
>> [-Werror=implicit-function-declaration]
>> | __event_probe__syscall_entry_unknown(event, id, args);

>> lttng-modules/2.7.1-r1/git/lttng-syscalls.c:509:3: error: implicit declaration
>> of function '__event_probe__compat_syscall_exit_unknown'
>> [-Werror=implicit-function-declaration]
>> | __event_probe__compat_syscall_exit_unknown(event, id, ret,

>> lttng-modules/2.7.1-r1/git/lttng-syscalls.c:512:3: error: implicit declaration
>> of function '__event_probe__syscall_exit_unknown'
>> [-Werror=implicit-function-declaration]
>> | __event_probe__syscall_exit_unknown(event, id, ret, args);

>> lttng-modules/2.7.1-r1/git/lttng-syscalls.c:740:2: error: implicit declaration
>> of function 'wrapper_vmalloc_sync_all' [-Werror=implicit-function-declaration]
>> | wrapper_vmalloc_sync_all();

>> lttng-modules/2.7.1-r1/git/lttng-syscalls.c:777:5: error:
>> '__event_desc___syscall_entry_unknown' undeclared (first use in this function)
>> | &__event_desc___syscall_entry_unknown;

>> lttng-modules/2.7.1-r1/git/lttng-syscalls.c:794:5: error:
>> '__event_desc___compat_syscall_entry_unknown' undeclared (first use in this
>> function)
>> | &__event_desc___compat_syscall_entry_unknown;

>> lttng-modules/2.7.1-r1/git/lttng-syscalls.c:811:5: error:
>> '__event_desc___compat_syscall_exit_unknown' undeclared (first use in this
>> function)
>> | &__event_desc___compat_syscall_exit_unknown;

>> lttng-modules/2.7.1-r1/git/lttng-syscalls.c:828:5: error:
>> '__event_desc___syscall_exit_unknown' undeclared (first use in this function)
>> | &__event_desc___syscall_exit_unknown;

> If I disable the syscall tracing it builds just fine though. Any idea on why
> this may be happening?

Hi, 

The ARM64 architecture support has only been added to LTTng in the 
master branch, in preparation for the upcoming LTTng 2.8. 

It's likely that commenting our lttng-syscall module compilation will 
work for lttng 2.7 (but without system call support). However, we 
recommend trying out lttng master branches, and eventually lttng 
2.8, for tracing on ARM64. 

Thanks, 

Mathieu 

> Regards,
> Dragos

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers 
EfficiOS Inc. 
http://www.efficios.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20160218/3b66860f/attachment-0001.html>


More information about the lttng-dev mailing list