From: Baruch Even <baruch@ev-en.org>
To: li nux <lnxluv@yahoo.com>
Cc: linux <linux-kernel@vger.kernel.org>
Subject: Re: oprofile: profiling kernel
Date: Sat, 07 May 2005 16:11:08 +0100 [thread overview]
Message-ID: <427CDA8C.1050607@ev-en.org> (raw)
In-Reply-To: <20050507124513.95097.qmail@web60518.mail.yahoo.com>
li nux wrote:
> Using oprofile Is it possible to profile how many
> times a function say try_to_unmap_cluster() is called
> within the kernel in a certain time interval ?
> If yes, then how ?
> What settings are needed for that.
No. That's not possible with oprofile.
To get something like that I hack the code and use relayfs to transfer
the data to user-space.
Note, the examples for relayfs show using sprintf to generate text
output. *Don't* do that. Use binary buffers and translate them to text
off-line in user-mode. sprintf is awfully inefficient for large amounts
of data.
Baruch
prev parent reply other threads:[~2005-05-07 15:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-07 12:45 oprofile: profiling kernel li nux
2005-05-07 15:11 ` Baruch Even [this message]
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=427CDA8C.1050607@ev-en.org \
--to=baruch@ev-en.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lnxluv@yahoo.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.