public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Akinobu Mita <amgta@yacht.ocn.ne.jp>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: subj: [PATHC] user-defined profiling
Date: Mon, 1 Nov 2004 09:39:05 -0800	[thread overview]
Message-ID: <20041101173905.GM2583@holomorphy.com> (raw)
In-Reply-To: <200411020133.53562.amgta@yacht.ocn.ne.jp>

On Tue, Nov 02, 2004 at 01:33:53AM +0900, Akinobu Mita wrote:
> This patch provides support for user-defined profiling. It is
> inspired by scheduler profiling.
> If you put the following code into interesting function
> 	profile_hit(USR_PROFILNG, __buildin_return_address(0));
> and boot with profile=user then the readprofile shows which functions
> called it, and how many times.
> Furthermore I much prefer to insert the user-defined profile point
> with Kprobe. This is why the profile_hits() was exported.
> Please apply.
> Signed-off-by Akinobu Mita <amgta@yacht.ocn.ne.jp>

It makes sense, though I wouldn't mind getting a look at who calls this.
Looking at the callee in isolation leaves me vaguely puzzled.


-- wli

      parent reply	other threads:[~2004-11-01 17:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-01 16:33 subj: [PATHC] user-defined profiling Akinobu Mita
2004-11-01 16:49 ` [PATCH] " Akinobu Mita
2004-11-01 17:39 ` William Lee Irwin III [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041101173905.GM2583@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=akpm@osdl.org \
    --cc=amgta@yacht.ocn.ne.jp \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox