From: Mike Mason <mmlnx@us.ibm.com>
To: SystemTAP <systemtap@sources.redhat.com>
Subject: Functions that require interrupts be enabled
Date: Tue, 15 May 2007 22:33:00 -0000 [thread overview]
Message-ID: <464A352A.8010608@us.ibm.com> (raw)
I want to add a function to the task.stp tapset file that grabs a process' arguments from its user address space. We couldn't do this before because all probes ran with interrupts disabled and couldn't sleep. Now that begin/end probes no longer require that interrupts be disabled, this function can be used in begin/end probes at least.
How do I prevent the function from being used in other probes? Is there a way to detect if interrupts are disabled or detect that the function was called from a begin/end probe? Do we even want to provide functions with this type of limitation?
Mike
next reply other threads:[~2007-05-15 22:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-15 22:33 Mike Mason [this message]
2007-05-16 0:49 ` Frank Ch. Eigler
2007-05-16 19:00 ` Mike Mason
2007-05-17 19:46 ` Frank Ch. Eigler
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=464A352A.8010608@us.ibm.com \
--to=mmlnx@us.ibm.com \
--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).