From: Maynard Johnson <maynardj@us.ibm.com>
To: maynardj@us.ibm.com
Cc: Arnd Bergmann <arnd@arndb.de>,
linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org,
oprofile-list@lists.sourceforge.net, cbe-oss-dev@ozlabs.org,
Carl Love <cel@us.ibm.com>
Subject: Re: [Cbe-oss-dev] [RFC, PATCH] CELL Oprofile SPU profiling updated patch
Date: Sun, 18 Feb 2007 17:18:56 -0600 [thread overview]
Message-ID: <45D8DEE0.4020203@us.ibm.com> (raw)
In-Reply-To: <45D62583.5080701@us.ibm.com>
Maynard Johnson wrote:
>Arnd Bergmann wrote:
>
>
>
>>On Friday 16 February 2007 01:32, Maynard Johnson wrote:
>>
>>
>>
>>>config OPROFILE_CELL
>>> bool "OProfile for Cell Broadband Engine"
>>> depends on OPROFILE && SPU_FS
>>> default y if ((SPU_FS = y && OPROFILE = y) || (SPU_FS = m &&
>>>OPROFILE = m))
>>> help
>>> Profiling of Cell BE SPUs requires special support enabled
>>> by this option. Both SPU_FS and OPROFILE options must be
>>> set 'y' or both be set 'm'.
>>>=============
>>>
>>>Can anyone see a problem with any of this . . . or perhaps a suggestion
>>>of a better way?
>>>
>>>
>>The text suggests it doesn't allow SPU_FS=y with OPROFILE=m, which I think
>>should be allowed.
>>
>>
>Right, good catch. I'll add another OR to the 'default y' and correct
>the text.
>
>
Actually, it makes more sense to do the following:
config OPROFILE_CELL
bool "OProfile for Cell Broadband Engine"
depends on (SPU_FS = y && OPROFILE = m) || (SPU_FS = y &&
OPROFILE = y) || (SPU_FS = m && OPROFILE = m)
default y
help
Profiling of Cell BE SPUs requires special support enabled by
this option.
> > I also don't see any place in the code where you actually
>
>
>>use CONFIG_OPROFILE_CELL.
>>
>>
>As I mentioned, I will use CONFIG_OPROFILE_CELL in the
>arch/powerpc/oprofile/Makefile as follows:
> oprofile-$(CONFIG_OPROFILE_CELL) += op_model_cell.o \
> cell/spu_profiler.o cell/vma_map.o cell/spu_task_sync.o
>
>
>
>
[snip]
>> Arnd <><
>>
>>
>
>
>_______________________________________________
>Linuxppc-dev mailing list
>Linuxppc-dev@ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-dev
>
>
WARNING: multiple messages have this Message-ID (diff)
From: Maynard Johnson <maynardj@us.ibm.com>
To: maynardj@us.ibm.com
Cc: Arnd Bergmann <arnd@arndb.de>,
linuxppc-dev@ozlabs.org, Carl Love <cel@us.ibm.com>,
cbe-oss-dev@ozlabs.org, oprofile-list@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: [Cbe-oss-dev] [RFC, PATCH] CELL Oprofile SPU profiling updated patch
Date: Sun, 18 Feb 2007 17:18:56 -0600 [thread overview]
Message-ID: <45D8DEE0.4020203@us.ibm.com> (raw)
In-Reply-To: <45D62583.5080701@us.ibm.com>
Maynard Johnson wrote:
>Arnd Bergmann wrote:
>
>
>
>>On Friday 16 February 2007 01:32, Maynard Johnson wrote:
>>
>>
>>
>>>config OPROFILE_CELL
>>> bool "OProfile for Cell Broadband Engine"
>>> depends on OPROFILE && SPU_FS
>>> default y if ((SPU_FS = y && OPROFILE = y) || (SPU_FS = m &&
>>>OPROFILE = m))
>>> help
>>> Profiling of Cell BE SPUs requires special support enabled
>>> by this option. Both SPU_FS and OPROFILE options must be
>>> set 'y' or both be set 'm'.
>>>=============
>>>
>>>Can anyone see a problem with any of this . . . or perhaps a suggestion
>>>of a better way?
>>>
>>>
>>The text suggests it doesn't allow SPU_FS=y with OPROFILE=m, which I think
>>should be allowed.
>>
>>
>Right, good catch. I'll add another OR to the 'default y' and correct
>the text.
>
>
Actually, it makes more sense to do the following:
config OPROFILE_CELL
bool "OProfile for Cell Broadband Engine"
depends on (SPU_FS = y && OPROFILE = m) || (SPU_FS = y &&
OPROFILE = y) || (SPU_FS = m && OPROFILE = m)
default y
help
Profiling of Cell BE SPUs requires special support enabled by
this option.
> > I also don't see any place in the code where you actually
>
>
>>use CONFIG_OPROFILE_CELL.
>>
>>
>As I mentioned, I will use CONFIG_OPROFILE_CELL in the
>arch/powerpc/oprofile/Makefile as follows:
> oprofile-$(CONFIG_OPROFILE_CELL) += op_model_cell.o \
> cell/spu_profiler.o cell/vma_map.o cell/spu_task_sync.o
>
>
>
>
[snip]
>> Arnd <><
>>
>>
>
>
>_______________________________________________
>Linuxppc-dev mailing list
>Linuxppc-dev@ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-dev
>
>
next prev parent reply other threads:[~2007-02-18 23:18 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-14 23:52 [Cbe-oss-dev] [RFC, PATCH] CELL Oprofile SPU profiling updated patch Carl Love
2007-02-15 14:37 ` Arnd Bergmann
2007-02-15 14:37 ` Arnd Bergmann
2007-02-15 16:15 ` Maynard Johnson
2007-02-15 16:15 ` Maynard Johnson
2007-02-15 18:13 ` Arnd Bergmann
2007-02-15 18:13 ` Arnd Bergmann
2007-02-15 20:21 ` Carl Love
2007-02-15 20:21 ` Carl Love
2007-02-15 21:03 ` Arnd Bergmann
2007-02-15 21:03 ` Arnd Bergmann
2007-02-15 21:50 ` Paul E. McKenney
2007-02-15 21:50 ` Paul E. McKenney
2007-02-16 0:33 ` Arnd Bergmann
2007-02-16 0:33 ` Arnd Bergmann
2007-02-16 0:32 ` Maynard Johnson
2007-02-16 0:32 ` Maynard Johnson
2007-02-16 17:14 ` Arnd Bergmann
2007-02-16 17:14 ` Arnd Bergmann
2007-02-16 21:43 ` Maynard Johnson
2007-02-16 21:43 ` Maynard Johnson
2007-02-18 23:18 ` Maynard Johnson [this message]
2007-02-18 23:18 ` Maynard Johnson
-- strict thread matches above, loose matches on Subject: below --
2007-02-22 0:02 Carl Love
2007-02-26 23:50 ` Arnd Bergmann
2007-02-26 23:50 ` Arnd Bergmann
2007-02-27 1:31 ` Michael Ellerman
2007-02-27 1:31 ` Michael Ellerman
2007-02-27 16:52 ` Maynard Johnson
2007-02-27 16:52 ` Maynard Johnson
2007-02-28 1:44 ` Arnd Bergmann
2007-02-28 1:44 ` Arnd Bergmann
2007-02-06 0:28 [RFC,PATCH] CELL PPU " Carl Love
2007-02-06 23:02 ` [Cbe-oss-dev] [RFC, PATCH] CELL " Carl Love
2007-02-06 23:02 ` Carl Love
2007-02-07 15:41 ` Maynard Johnson
2007-02-07 15:41 ` Maynard Johnson
2007-02-07 22:48 ` Michael Ellerman
2007-02-07 22:48 ` Michael Ellerman
2007-02-08 15:03 ` Maynard Johnson
2007-02-08 15:03 ` Maynard Johnson
2007-02-08 14:18 ` Milton Miller
2007-02-08 14:18 ` Milton Miller
2007-02-08 17:21 ` Arnd Bergmann
2007-02-08 17:21 ` Arnd Bergmann
2007-02-08 18:01 ` Adrian Reber
2007-02-08 18:01 ` Adrian Reber
2007-02-08 22:51 ` Carl Love
2007-02-08 22:51 ` Carl Love
2007-02-09 2:46 ` Milton Miller
2007-02-09 2:46 ` Milton Miller
2007-02-09 16:17 ` Carl Love
2007-02-09 16:17 ` Carl Love
2007-02-11 22:46 ` Milton Miller
2007-02-11 22:46 ` Milton Miller
2007-02-12 16:38 ` Carl Love
2007-02-12 16:38 ` Carl Love
2007-02-09 18:47 ` Milton Miller
2007-02-09 18:47 ` Milton Miller
2007-02-09 19:10 ` Arnd Bergmann
2007-02-09 19:10 ` Arnd Bergmann
2007-02-09 19:46 ` Milton Miller
2007-02-09 19:46 ` Milton Miller
2007-02-08 23:59 ` Maynard Johnson
2007-02-08 23:59 ` Maynard Johnson
2007-02-09 18:03 ` Milton Miller
2007-02-09 18:03 ` Milton Miller
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=45D8DEE0.4020203@us.ibm.com \
--to=maynardj@us.ibm.com \
--cc=arnd@arndb.de \
--cc=cbe-oss-dev@ozlabs.org \
--cc=cel@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=oprofile-list@lists.sourceforge.net \
/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.