From: Geoff Levand <geoffrey.levand@am.sony.com>
To: Mike Kravetz <kravetz@us.ibm.com>
Cc: linuxppc-dev@ozlabs.org, Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH] powerpc: Instrument Hypervisor Calls
Date: Mon, 14 Aug 2006 19:01:39 -0700 [thread overview]
Message-ID: <44E12B03.6020503@am.sony.com> (raw)
In-Reply-To: <20060814234146.GA17027@w-mikek2.ibm.com>
Mike Kravetz wrote:
> On Mon, Aug 14, 2006 at 04:35:12PM -0700, Geoff Levand wrote:
>> Mike Kravetz wrote:
>> > +config HCALL_STATS
>> > + bool "Hypervisor call instrumentation"
>> > + depends on PPC_PSERIES && DEBUG_FS
>> > + help
>> > + Adds code to keep track of the number of hypervisor calls made
> and
>> > + the amount of time spent in hypervisor calls: both wall time
> (based
>> > + on time base) and cpu time (based on PURR). A directory named
>> > + hcall_inst is added at the root of the debugfs filesystem.
>>
>> Could we keep this more generic and not mention platform specific
>> things like PURR?
>
> Not sure if I follow. PURR will be used/displayed if available. Time
> based statistics will always be available.
>
> I can change the description to make this clear. Or, are you asking
> that this not be mentioned at all? Based on previous discussions, I
> added the ability to display both wall and cpu time if available.
I want to hook my instrumentation into this config option also, but my
platform dosn't have PURR, so I would like you to remove the mention
of '(based on PURR)' in the description of the option. This way we
can have a generic 'Hypervisor call instrumentation' option for users,
on whatever platform they are using.
Does it make sense?
-Geoff
next prev parent reply other threads:[~2006-08-15 2:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-14 23:21 [PATCH] powerpc: Instrument Hypervisor Calls Mike Kravetz
2006-08-14 23:35 ` Geoff Levand
2006-08-14 23:41 ` Mike Kravetz
2006-08-15 2:01 ` Geoff Levand [this message]
2006-08-15 2:34 ` Mike Kravetz
2006-08-15 1:03 ` Stephen Rothwell
2006-08-15 2:32 ` Mike Kravetz
2006-08-15 3:12 ` Stephen Rothwell
2006-08-15 3:32 ` Dave Boutcher
-- strict thread matches above, loose matches on Subject: below --
2006-08-16 16:04 Mike Kravetz
2006-08-24 6:55 ` Paul Mackerras
2006-08-25 18:52 ` Mike Kravetz
2006-09-06 23:23 Mike Kravetz
2006-09-07 0:34 ` Paul Mackerras
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=44E12B03.6020503@am.sony.com \
--to=geoffrey.levand@am.sony.com \
--cc=kravetz@us.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.