public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Wolfram Gettert <Wolfram.Gettert@mixed-mode.de>
To: "systemtap@sourceware.org" <systemtap@sourceware.org>
Subject: strace.open does probe does not fire
Date: Mon, 24 Jun 2019 11:43:00 -0000	[thread overview]
Message-ID: <28efd687dcd14c478a0e555ff70cbd43@lippe.pixel-group.local> (raw)

Hi,
I am executing the following script:

----

probe begin
{
  printf("Start probing syscall.open\n")
}

probe syscall.open
{
  printf ("%s(%d) open(%s)\n", execname(), pid(), argstr)
}

probe timer.s(10)
{
  exit ()
}

probe end
{
  printf("Stop probing syscall.open\n")
}

----


I get the "Start probing syscall.open" and the "Stop probing syscall.open" message. I am executing "cat /dev/null" calls in a shell to be sure there is an open call. But the syscall.open probe does not fire.

I am using Ubuntu 18.04.2 LTS with Systemtap translator/driver (version 4.0/0.170, non-git sources).

I know that this script already worked for me on older versions. Is there anything what has changed?
Does anyone has an idea why it should not work?

Wolfram

             reply	other threads:[~2019-06-24 11:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-24 11:43 Wolfram Gettert [this message]
2019-06-24 21:13 ` Josh Stone
2019-06-25 16:08   ` Arkady
2019-06-26  8:33     ` AW: " Wolfram Gettert

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=28efd687dcd14c478a0e555ff70cbd43@lippe.pixel-group.local \
    --to=wolfram.gettert@mixed-mode.de \
    --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).