Skip to contentSkip to conversation

lttng-modules build issues

DISCUSSION Dragos Tarcatu 3 participants 3 messages Feb 18, 2016 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1510306317.5846570.1455790186976.JavaMail.yahoo.ref@mail.yahoo.com

#1 lore raw

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? Regards,     Dragos

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hi Dragos,

Which kernel version ?

Thanks

Quoted 62 lines · Dragos Tarcatu

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?

Regards,
Dragos

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 2 lines
Jonathan R. Julien
Efficios
#4 lore raw
In reply to a message not in the archive
Quoted 43 lines · Dragos Tarcatu

Hello,

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

Quoted 37 lines

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;

Quoted 6 lines
Quoted 3 lines

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

Quoted 7 lines

Regards,
Dragos

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Mathieu Desnoyers 
EfficiOS Inc. 
http://www.efficios.com 

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev