Skip to content

Instantly share code, notes, and snippets.

@hassan113
Last active June 8, 2020 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hassan113/2fcf37c6d5e46fbe5b5fcf4c944fc7e2 to your computer and use it in GitHub Desktop.
Save hassan113/2fcf37c6d5e46fbe5b5fcf4c944fc7e2 to your computer and use it in GitHub Desktop.
sudo stap -gv -a arm -p4 -r /home/hassan/Desktop/sandbox_design/armv5/output/build/linux-4.19.91/ -B CROSS_COMPILE=/home/hassan/Desktop/sandbox_design/armv5/output/host/bin/arm-linux- -m lisa.ko lisa.stp
..
..
...
WARNING: statement will never be reached: identifier 'name' at /usr/local/share/systemtap/tapset/linux/sysc_sigaction.stp:8:2
source: name = "sigaction"
^
in expansion of macro: operator '@_SYSCALL_SIGACTION_NAME' at /usr/local/share/systemtap/tapset/linux/sysc_sigaction.stp:181:2
source: @_SYSCALL_SIGACTION_NAME
^
WARNING: statement will never be reached: identifier 'name' at /usr/local/share/systemtap/tapset/linux/sysc_ustat.stp:7:2
source: name = "ustat"
^
in expansion of macro: operator '@_SYSCALL_USTAT_NAME' at /usr/local/share/systemtap/tapset/linux/sysc_ustat.stp:186:2
source: @_SYSCALL_USTAT_NAME
^
semantic error: unable to find local 'set32', [man error::dwarf] dieoffset 0x33e4e8 in kernel, near pc 0xc0027c20 in __se_sys_sigpending kernel/signal.c (alternatives: $uset, $ret)): identifier '$set32' at /usr/local/share/systemtap/tapset/linux/sysc_sigpending.stp:31:30
source: set = @choose_defined($set, $set32)
^
in expansion of macro: operator '@alternate' at /usr/local/share/systemtap/tapset/choose_defined.stpm:3:57
source: ( @defined(@value_if_defined) ? (@value_if_defined) : (@alternate) )
^
in expansion of macro: operator '@choose_defined' at /usr/local/share/systemtap/tapset/linux/sysc_sigpending.stp:31:8
source: set = @choose_defined($set, $set32)
^
semantic error: unable to find local 'iov', [man error::dwarf] dieoffset 0xf62866 in kernel, near pc 0xc0117aa4 in __se_sys_vmsplice fs/splice.c (alternatives: $uiov, $fd, $ret, $flags, $nr_segs)): identifier '$iov' at /usr/local/share/systemtap/tapset/linux/sysc_vmsplice.stp:39:8
source: iov = $iov
^
semantic error: unable to find local 'iov', [man error::dwarf] dieoffset 0xf62866 in kernel, near pc 0xc0117aa4 in __se_sys_vmsplice fs/splice.c (alternatives: $uiov, $fd, $ret, $flags, $nr_segs)): identifier '$iov' at :39:8
source: iov = $iov
^
Pass 2: analyzed script: 804 probes, 1368 functions, 100 embeds, 36 globals using 226440virt/172836res/8008shr/165640data kb, in 69740usr/8020sys/12786real ms.
Pass 2: analysis failed. [man error::pass2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment