From: "mmlnx at us dot ibm dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug runtime/5042] New: procfs probe script not recreating /proc entries in some cases
Date: Mon, 17 Sep 2007 20:18:00 -0000 [thread overview]
Message-ID: <20070917191522.5042.mmlnx@us.ibm.com> (raw)
I just tried out the new procfs probe feature (very cool, BTW) and found a bug.
The bug can be reproduced as follows:
1. Run a procfs probe script that inserts an entry in /proc (e.g.,
/proc/systemtap/stap_d116efa3785a073ecd3b45ae46950a46_72240/foo).
2. CD to /proc/systemtap/stap_d116efa3785a073ecd3b45ae46950a46_72240 in another
xterm.
3. Ctrl-c out of the probe script. You'll see messages like the following in
/var/log/messages:
Sep 17 11:51:20 localhost kernel: remove_proc_entry:
systemtap/stap_d116efa3785a073ecd3b45ae46950a46_72240 busy, count=1
Sep 17 11:51:20 localhost kernel: remove_proc_entry: /proc/systemtap busy, count=1
...meaning the deletions have been deferred.
4. Run the procfs probe script again, then CD to /proc. There's no
/proc/systemtap entry. I don't see any error messages that indicate
/proc/systemtap could not be added. I had to reboot the system before I could
get the script to add /proc/systemtap again.
--
Summary: procfs probe script not recreating /proc entries in some
cases
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mmlnx at us dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5042
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
next reply other threads:[~2007-09-17 19:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-17 20:18 mmlnx at us dot ibm dot com [this message]
2007-09-17 21:20 ` [Bug runtime/5042] " fche at redhat dot com
2007-09-18 3:06 ` dsmith at redhat dot com
2007-09-18 22:41 ` mmlnx at us dot ibm dot com
2007-09-19 15:10 ` hunt at redhat dot com
2008-04-23 14:13 ` dsmith at redhat dot com
2010-01-20 19:02 ` dsmith at redhat dot com
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=20070917191522.5042.mmlnx@us.ibm.com \
--to=sourceware-bugzilla@sourceware.org \
--cc=systemtap@sources.redhat.com \
/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).