public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "mark at klomp dot org" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug runtime/28378] semantic error: process return probes not available [man error::inode-uprobes]
Date: Fri, 24 Sep 2021 08:06:31 +0000	[thread overview]
Message-ID: <bug-28378-6586-nsS1Yvs7ar@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-28378-6586@http.sourceware.org/bugzilla/>

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.

  parent reply	other threads:[~2021-09-24  8:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23  9:29 [Bug runtime/28378] New: [Systemtap] runtime error: Kernel function symbol table missing [man warning::symbols] nylon7717 at gmail dot com
2021-09-23 12:31 ` [Bug runtime/28378] semantic error: process return probes not available [man error::inode-uprobes] mark at klomp dot org
2021-09-24  2:51 ` nylon7717 at gmail dot com
2021-09-24  5:50 ` nylon7717 at gmail dot com
2021-09-24  8:06 ` mark at klomp dot org [this message]
2021-09-24  8:25 ` nylon7717 at gmail dot com
2021-09-24  8:46 ` mark at klomp dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-28378-6586-nsS1Yvs7ar@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).