From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5dd35952b2d07611902ecc6aa98065c1@plan9.bell-labs.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] kprof From: "rob pike, esq." MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Sun, 21 Apr 2002 12:41:12 -0400 Topicbox-Message-UUID: 793cbdb4-eaca-11e9-9e20-41e7f4b1d025 Prof -d works by rewriting the text of the program to include statistics-gathering code at each function call/return. Without such code at function points in the kernel, kprof -d cannot work. However, you'll have an awful time managing that statistics- gathering code in a running kernel with interrupts and such going on. Yikes. -rob