From: Daniel Migault <mglt.biz@gmail.com>
To: systemtap@sourceware.org
Subject: Monitoring Modules
Date: Thu, 19 May 2011 17:27:00 -0000 [thread overview]
Message-ID: <4DD552F6.8010803@gmail.com> (raw)
Hi,
To measure how IPsec influences the performances of our system, we would
like to record the module of the current task. We use the probemod()
function but it only returns " <unknown> ".
Do you know how could we get the module's name performing the task?
We would appreciate any suggestions. This is our code based on
thread-times.stp
[...]
tid=tid(); e=execname()
if (!user_mode()) {
module=probemod()
kticks[e,tid] <<< 1
} else {
module="u_space"
uticks[e,tid] <<< 1
}
[..]
Regards,
Daniel
next reply other threads:[~2011-05-19 17:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-19 17:27 Daniel Migault [this message]
2011-05-19 17:54 ` Frank Ch. Eigler
2011-06-01 7:04 ` Daniel Migault
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=4DD552F6.8010803@gmail.com \
--to=mglt.biz@gmail.com \
--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).