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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]