Created
June 15, 2020 10:59
-
-
Save hassan113/d7d004f50d1e0d20dfd8519f0ef679b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo stap -gv -a arm64 -p4 -r /home/hassan/Desktop/sandbox_design/aarch/output/build/linux-4.19.91/ -B CROSS_COMPILE=/home/hassan/Desktop/sandbox_design/aarch/output/host/bin/aarch64-linux- -m strace.ko strace.stp | |
Truncating module name to 'strace' | |
Pass 1: parsed user script and 458 library scripts using 124384virt/67052res/6792shr/60468data kb, in 150usr/0sys/153real ms. | |
WARNING: cross-file global variable reference to identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/syscalls_cfg_trunc.stp:3:8 from: identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/sysc_mount.stp:31:46 | |
source: data = user_string_n_quoted(pointer_arg(5), syscall_string_trunc) | |
^ | |
in expansion of macro: operator '@_SYSCALL_MOUNT_REGARGS' at /usr/local/share/systemtap/tapset/linux/sysc_mount.stp:78:2 | |
source: @_SYSCALL_MOUNT_REGARGS | |
^ | |
WARNING: cross-file global variable reference to identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/syscalls_cfg_trunc.stp:3:8 from: identifier 'syscall_string_trunc' at :31:46 | |
source: data = user_string_n_quoted(pointer_arg(5), syscall_string_trunc) | |
^ | |
in expansion of macro: operator '@_SYSCALL_MOUNT_REGARGS' at /usr/local/share/systemtap/tapset/linux/sysc_mount.stp:78:2 | |
source: @_SYSCALL_MOUNT_REGARGS | |
^ | |
WARNING: cross-file global variable reference to identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/syscalls_cfg_trunc.stp:3:8 from: identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/sysc_pwrite.stp:24:49 | |
source: buf_str = user_buffer_quoted(buf_uaddr, count, syscall_string_trunc) | |
^ | |
in expansion of macro: operator '@_SYSCALL_PWRITE_REGARGS' at /usr/local/share/systemtap/tapset/linux/sysc_pwrite.stp:77:2 | |
source: @_SYSCALL_PWRITE_REGARGS | |
^ | |
WARNING: cross-file global variable reference to identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/syscalls_cfg_trunc.stp:3:8 from: identifier 'syscall_string_trunc' at :24:49 | |
source: buf_str = user_buffer_quoted(buf_uaddr, count, syscall_string_trunc) | |
^ | |
in expansion of macro: operator '@_SYSCALL_PWRITE_REGARGS' at /usr/local/share/systemtap/tapset/linux/sysc_pwrite.stp:201:2 | |
source: @_SYSCALL_PWRITE_REGARGS | |
^ | |
WARNING: cross-file global variable reference to identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/syscalls_cfg_trunc.stp:3:8 from: identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/sysc_send.stp:141:43 | |
source: buf = user_buffer_quoted(buf_uaddr, len, syscall_string_trunc) | |
^ | |
WARNING: cross-file global variable reference to identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/syscalls_cfg_trunc.stp:3:8 from: identifier 'syscall_string_trunc' at :141:43 | |
source: buf = user_buffer_quoted(buf_uaddr, len, syscall_string_trunc) | |
^ | |
WARNING: cross-file global variable reference to identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/syscalls_cfg_trunc.stp:3:8 from: identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/sysc_sendto.stp:155:43 | |
source: buf = user_buffer_quoted(buf_uaddr, len, syscall_string_trunc) | |
^ | |
WARNING: cross-file global variable reference to identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/syscalls_cfg_trunc.stp:3:8 from: identifier 'syscall_string_trunc' at :155:43 | |
source: buf = user_buffer_quoted(buf_uaddr, len, syscall_string_trunc) | |
^ | |
WARNING: cross-file global variable reference to identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/syscalls_cfg_trunc.stp:3:8 from: identifier 'syscall_string_trunc' at /usr/local/share/systemtap/tapset/linux/sysc_write.stp:23:49 | |
source: buf_str = user_buffer_quoted(buf_uaddr, count, syscall_string_trunc) | |
^ | |
in expansion of macro: operator '@_SYSCALL_WRITE_REGARGS' at /usr/local/share/systemtap/tapset/linux/sysc_write.stp:100:2 | |
source: @_SYSCALL_WRITE_REGARGS | |
^ | |
WARNING: never-assigned local variable 'retstr' (similar: argstr, status, name, _target_set, thread_argstr): identifier 'retstr' at strace.stp:57:38 | |
source: report(name,thread_argstr[tid()],retstr) | |
^ | |
WARNING: never-assigned local variable 'retstr' (similar: argstr, status, name, _target_set, thread_argstr): identifier 'retstr' at :57:38 | |
source: report(name,thread_argstr[tid()],retstr) | |
^ | |
Pass 2: analyzed script: 962 probes, 203 functions, 100 embeds, 63 globals using 144916virt/89088res/8276shr/81000data kb, in 76720usr/9070sys/14311real ms. | |
Pass 3: translated to C into "/tmp/stapCC5ilR/strace_src.c" using 144916virt/89088res/8276shr/81000data kb, in 330usr/20sys/349real ms. | |
strace.ko | |
Pass 4: compiled C into "strace.ko" in 64460usr/1690sys/65643real ms. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment