]> sourceware.org Git - systemtap.git/commit
Explicitly set the return type for __stack_raw() and __ustack_raw().
authorMartin Cermak <mcermak@redhat.com>
Fri, 2 Oct 2015 14:48:54 +0000 (16:48 +0200)
committerMartin Cermak <mcermak@redhat.com>
Fri, 2 Oct 2015 14:48:54 +0000 (16:48 +0200)
commit2ec3766dc357eb8ed0f5233ee3b91a1bc8f87b13
treec2737bf06f7b9931ba4d33c047c9113c46164f7d
parent4dc97b40ad9e57fb541258bd5e557df635597383
Explicitly set the return type for __stack_raw() and __ustack_raw().

Missing return type defs may cause "unresolved type" error when
calling a function without enough context for type inference to work
like e.g. `stap -e 'probe oneshot{println(__stack_raw(0))}'`.
tapset/linux/context-symbols.stp
tapset/linux/ucontext-symbols.stp
This page took 0.027042 seconds and 5 git commands to generate.