Messages in this thread | | | From | "will fitzgerald" <> | Date | Thu, 23 May 2002 14:21:40 +0100 | Subject | Question:kernel profiling and readprofile |
| |
hi all,
i stumbled accross a command called readprofile by accident and found that by appening the line append="profile=2" to the lilo.conf file and using thread profile command you can get statistics on functions that spend a certain amount of time doing a job.
i done some searching on this and can't find anything other than a man page on readprofile.
can anyone tell me what does the line append="profile=2" actually do apart from creating the file profile in the proc directory, what is the 2 for in this line?
next is this an accurate way to measure heady traffic load through say a linux router? will it highlight all functions say for example ip_forward, dev_queue_xmit etc etc that are being opverloaded due to huge traffic loads being passed through the router. ie will it spot bottlenecks with good accuracy?
any feedback is welcomed, regards will.
Beer Mail, brought to you by your friends at beer.com. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |