[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] kernel profiling



Hi Jim,

Jim Van Vorst wrote:
Has anyone gotten kernel profiling running with 2.6? It looks like oprofile is available in uclinux but for !microblaze. I tried readprofile but got something useless. I could compile with -pg but then I'd have to write the enter/exit support. But I figure someone has already done this.


In the 2.4 kernel, the older style kernel profiling and readprofile work fine.

I haven't tried them in 2.6, and to be honest am not sure how they interplay with oprofile, which profiles libs and apps as well as the kernel.

oprofile on no-mmu is a bit of a pain, the kernel hooks are straight forward but there's a bunch of userspace utils for reading the profile buffers, and displaying/interpreting the info, that have to be hacked on to work without an MMU.

I'll have a bit of a dig and see what I can find. Regular readprofile shouldn't be too hard to get going, oprofile is a bit more involved.

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/