From: Jason Yeh <jason.yeh@amd.com>
To: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC][Patch 1/1] Oprofile Multiplexing
Date: Thu, 29 May 2008 14:03:06 -0500 [thread overview]
Message-ID: <483EFDEA.3010003@amd.com> (raw)
In-Reply-To: <20080529122514.GA17191@Krystal>
Mathieu Desnoyers wrote:
>
> I have been contemplating the idea of using the performance counters in
> the LTTng kernel tracer for quite a while, but I see the the underlying
> implementations often deal with those counters as if they were
> per-process ressources. Given those ressources are limited amongst the
> whole system, would it make sense to allow an in-kernel consumer to
> connect to some of these counters on a per-CPU basis and return a
> "ressource not available error" to userspace when it tries to connect to
> them ? (and also to kick out a userspace reader when an higher priority
> in-kernel request is done, which implies that the "read" operation may
> fail)
>
Mathieu,
It sounds like you are asking a re-design of the current Oprofile. I agree
with you that some sort of abstraction are needed for arbitrate who get to
connect the counters. This is probably part of the objectives of the Perfmon2
guys working toward.
The patch is aimed to provide a quick way based on the current
implementation to be able to profile more events than the number of hardware
counters.
Jason
prev parent reply other threads:[~2008-05-29 19:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-27 20:08 [RFC][Patch 1/1] Oprofile Multiplexing Jason Yeh
2008-05-29 8:10 ` Andrew Morton
2008-05-29 12:25 ` Mathieu Desnoyers
2008-05-29 19:03 ` Jason Yeh [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=483EFDEA.3010003@amd.com \
--to=jason.yeh@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@polymtl.ca \
/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