[Bug runtime/28378] semantic error: process return probes not available [man error::inode-uprobes]

mark at klomp dot org sourceware-bugzilla@sourceware.org
Fri Sep 24 08:06:31 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=28378

--- Comment #4 from Mark Wielaard <mark at klomp dot org> ---
I must say I don't really understand some of the issues you are seeing. But it
looks like you are using a couple of years old Ubuntu install. Maybe you can
ask them if they are still supporting that and can help you with using these
more modern systemtap features.

> # stap -p4 -r $(uname -r) tracer.stp -m tracer -v -g --suppress-time-limits
> WARNING: Probe 'process' has been elided: keyword at :1294:1
>  source: probe process("/bin/bash").function("*_builtin") {
>          ^

This is weird, it means stap believes this probe is empty. But what you show
above looks like it isn't. Do all if statements evaluate to false?

> semantic error: while processing probe tp_syscall.open.return from: nd_syscall.open.return from: syscall.open.return from: syscall.open.return
> 
> semantic error: internal error: @entry is only valid in .return probes: operator '@entry' at :652:32
>         source:         filename = user_string(@entry($filename), err_msg)
>                                                ^

This is even more curious. This seems to have nothing to do with the script you
posted. I cannot explain why the above expands to something that uses an
@entry.

Might there be more to the script than what you posted in this bug?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list