kernprof
[Top] [All Lists]

Re: profiling kernel modules...

To: Mike Brown <mbrown@xxxxxxx>
Subject: Re: profiling kernel modules...
From: Castor Fu <castor@xxxxxxxxxxxx>
Date: Mon, 9 Jun 2003 15:39:20 -0700 (PDT)
Cc: <kernprof@xxxxxxxxxxx>, <vilayann@xxxxxxxxxxx>
In-reply-to: <20030609223138.GA18430@esd-mbrown.us.dg.com>
Sender: kernprof-bounce@xxxxxxxxxxx
On Mon, 9 Jun 2003, Mike Brown wrote:

> hi,
>
> i searched the archives and found that someone else has asked this question,
> but there didn't seem to be a reply to it.
>
> Is there any way to profile kernel modules?
>
> Thanks.
>
> -Michael F. Brown, EMC Corp.

If I recall, the main problem is that the various gprof tools don't
do too well with segmented memory, so it's fairly easy to hack things
to look at either vmalloc'ed memory or normal kmem, and even to save
data for both, but to analyze both, you'll need to fix the tools for
digesting the resulting profile, or roll your own.

    -castor


<Prev in Thread] Current Thread [Next in Thread>