* oprofile: profiling kernel
@ 2005-05-07 12:45 li nux
2005-05-07 15:11 ` Baruch Even
0 siblings, 1 reply; 2+ messages in thread
From: li nux @ 2005-05-07 12:45 UTC (permalink / raw)
To: linux
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.
-lnxluv
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: oprofile: profiling kernel
2005-05-07 12:45 oprofile: profiling kernel li nux
@ 2005-05-07 15:11 ` Baruch Even
0 siblings, 0 replies; 2+ messages in thread
From: Baruch Even @ 2005-05-07 15:11 UTC (permalink / raw)
To: li nux; +Cc: linux
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-07 15:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-07 12:45 oprofile: profiling kernel li nux
2005-05-07 15:11 ` Baruch Even
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 NNTP newsgroup(s).