This is a repost to LKML of the patches I sent to the linux-perf-users mailing
list.
I am reposting it to lkml per Arnaldo Carvalho's request.
The following is the jit library for the callbacks to capture the jit
code information. This version is just for test purposes. It causes
a remapping
. The following patches are dependent on this patch.
Carl Love
---
This patch adds a PR_TASK_PERF_UEVENT prctl call which can be used by
any process to inject custom data into perf data stream as a new
PERF_RECORD_UEVENT record
development. The goal is the jit library will only call for a remap when
it is really needed.
Signed-off-by: Carl Love
---
tools/perf/builtin-record.c | 2 ++
tools/perf/builtin-report.c | 1 +
tools/perf/builtin-script.c | 5 +++
tools/perf/util/event.c | 81
in this patch set are:
1/3 Patch by Pawel Moll
2/3 Perf remap patch by Carl Love
3/3 jvmti library source code for testing the perf patch
Carl Love
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message
This is a repost to LKML of the patches I sent to the linux-perf-users mailing
list.
I am reposting it to lkml per Arnaldo Carvalho's request.
The following is the jit library for the callbacks to capture the jit
code information. This version is just for test purposes. It causes
a remapping
development. The goal is the jit library will only call for a remap when
it is really needed.
Signed-off-by: Carl Love c...@us.ibm.com
---
tools/perf/builtin-record.c | 2 ++
tools/perf/builtin-report.c | 1 +
tools/perf/builtin-script.c | 5 +++
tools/perf/util/event.c | 81
. The following patches are dependent on this patch.
Carl Love
---
This patch adds a PR_TASK_PERF_UEVENT prctl call which can be used by
any process to inject custom data into perf data stream as a new
PERF_RECORD_UEVENT record
in this patch set are:
1/3 Patch by Pawel Moll
2/3 Perf remap patch by Carl Love
3/3 jvmti library source code for testing the perf patch
Carl Love
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord
Subject: Enable SPU switch notification to detect currently active SPU tasks.
From: Maynard Johnson <[EMAIL PROTECTED]>, Carl Love <[EMAIL PROTECTED]>
This repost contains the change to move the notify_active flag from ctx->spu to
ctx as
discussed and agreed to by Arnd on 1/30/
Subject: Enable SPU switch notification to detect currently active SPU tasks.
From: Maynard Johnson [EMAIL PROTECTED], Carl Love [EMAIL PROTECTED]
This repost contains the change to move the notify_active flag from ctx-spu to
ctx as
discussed and agreed to by Arnd on 1/30/07. This patch
On Thu, 2007-02-15 at 15:37 +0100, Arnd Bergmann wrote:
> On Thursday 15 February 2007 00:52, Carl Love wrote:
>
>
> > --- linux-2.6.20-rc1.orig/arch/powerpc/oprofile/Kconfig 2007-01-18
> > 16:43:14.0 -0600
> > +++ linux-2.6.20-rc1/arch/powerpc/oprofile/
On Thu, 2007-02-15 at 15:37 +0100, Arnd Bergmann wrote:
On Thursday 15 February 2007 00:52, Carl Love wrote:
--- linux-2.6.20-rc1.orig/arch/powerpc/oprofile/Kconfig 2007-01-18
16:43:14.0 -0600
+++ linux-2.6.20-rc1/arch/powerpc/oprofile/Kconfig 2007-02-13
19:04
On Sun, 2007-02-11 at 16:46 -0600, Milton Miller wrote:
[cut]
>
> As far as I understand, you are providing access to a completely new
> hardware that is related to the PMU hardware by the fact that it
> collects a program counter. It doesn't use the PMU counters nor the
> PMU event
On Sun, 2007-02-11 at 16:46 -0600, Milton Miller wrote:
[cut]
As far as I understand, you are providing access to a completely new
hardware that is related to the PMU hardware by the fact that it
collects a program counter. It doesn't use the PMU counters nor the
PMU event selection.
On Thu, 2007-02-08 at 20:46 -0600, Milton Miller wrote:
> On Feb 8, 2007, at 4:51 PM, Carl Love wrote:
>
> > On Thu, 2007-02-08 at 18:21 +0100, Arnd Bergmann wrote:
> >> On Thursday 08 February 2007 15:18, Milton Miller wrote:
> >>
> >>> 1) sample rate
On Thu, 2007-02-08 at 20:46 -0600, Milton Miller wrote:
On Feb 8, 2007, at 4:51 PM, Carl Love wrote:
On Thu, 2007-02-08 at 18:21 +0100, Arnd Bergmann wrote:
On Thursday 08 February 2007 15:18, Milton Miller wrote:
1) sample rate setup
In the current patch, the user specifies
d only one of the entries in the table will ever be used.
I think if we found the LFSR that was with in 2^10 of the desired value
that would be good enough. It would be within 1% of the minimum N the
user can specify. That would require a table with 2^14 entries. That
seems unreasonably large.
Anyway, the user controls how often sampling is done by setting N.
>
Carl Love
> [cut]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
the
user can specify. That would require a table with 2^14 entries. That
seems unreasonably large.
Anyway, the user controls how often sampling is done by setting N.
Carl Love
[cut]
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message
is patch updates the existing arch/powerpc/oprofile/op_model_cell.c
to add in the SPU profiling capabilities. In addition, a 'cell' subdirectory
was added to arch/powerpc/oprofile to hold Cell-specific SPU profiling
code.
Signed-off-by: Carl Love <[EMAIL PROTECTED]>
Signed-off-by: Maynard Joh
the existing arch/powerpc/oprofile/op_model_cell.c
to add in the SPU profiling capabilities. In addition, a 'cell' subdirectory
was added to arch/powerpc/oprofile to hold Cell-specific SPU profiling
code.
Signed-off-by: Carl Love [EMAIL PROTECTED]
Signed-off-by: Maynard Johnson [EMAIL PROTECTED]
Index
ectory
was added to arch/powerpc/oprofile to hold Cell-specific SPU profiling
code.
Signed-off-by: Carl Love <[EMAIL PROTECTED]>
Signed-off-by: Maynard Johnson <[EMAIL PROTECTED]>
Index: linux-2.6.20-rc1/arch/powerpc/configs/cell_defconfig
=
/powerpc/oprofile to hold Cell-specific SPU profiling
code.
Signed-off-by: Carl Love [EMAIL PROTECTED]
Signed-off-by: Maynard Johnson [EMAIL PROTECTED]
Index: linux-2.6.20-rc1/arch/powerpc/configs/cell_defconfig
===
--- linux-2.6.20
efine name found by Michael Neuling
From: Maynard Johnson <[EMAIL PROTECTED]>, Carl Love
<[EMAIL PROTECTED]>
This is a clean up patch that includes the following changes:
-Some comments were added to clarify the code based on feedback
from the community.
found by Michael Neuling
From: Maynard Johnson [EMAIL PROTECTED], Carl Love
[EMAIL PROTECTED]
This is a clean up patch that includes the following changes:
-Some comments were added to clarify the code based on feedback
from the community.
-The write_pm_cntrl
Mikey:
Yes, that is an error. Thanks for the catch.
Carl Love
On Fri, 2007-02-02 at 09:52 +1100, Michael Neuling wrote:
> Carl,
>
> > +#define NUM_TRACE_BUS_WORDS 4
> > +#define NUM_INPUT_BUS_WORDS 2
>
>
>
> > - for (i = 0; i
element from a global variable. The argument was removed so
the
functions now just operate on the global directly.
-The set_pm_event() function call in the cell_virtual_cntr()
routine
was moved to a for-loop before the for_each_cpu loop
Signed-off-by: Carl Love <[EMA
This is the update to the patch previously posted by Maynard Johnson as
PATCH 1/4. Add support to OProfile for profiling CELL. The patch was
updated to not remove the MACROs per the discussion with Christoph
Hellwig and Benjamin Herrenschmidt.
From: Maynard Johnson [EMAIL PROTECTED], Carl Love
Mikey:
Yes, that is an error. Thanks for the catch.
Carl Love
On Fri, 2007-02-02 at 09:52 +1100, Michael Neuling wrote:
Carl,
+#define NUM_TRACE_BUS_WORDS 4
+#define NUM_INPUT_BUS_WORDS 2
snip
- for (i = 0; i 4; i++)
+ for (i = 0; i NUM_INPUT_BUS_WORDS; i
's for SPU scheduling.
Subject: Enable SPU switch notification to detect currently active SPU
tasks.
From: Maynard Johnson <[EMAIL PROTECTED]>, Carl Love
<[EMAIL PROTECTED]>
This patch adds to the capability of spu_switch_event_register so that
the
caller is also notified of currently acti
.
Subject: Enable SPU switch notification to detect currently active SPU
tasks.
From: Maynard Johnson [EMAIL PROTECTED], Carl Love
[EMAIL PROTECTED]
This patch adds to the capability of spu_switch_event_register so that
the
caller is also notified of currently active SPU tasks. It also exports
Arnd:
Well most of the patch is simply cleaning up the
pm_rtas_activate_signals() routine. I would be think
"pm_rtas_activat_signals routine cleanup" would be good.
Carl Love
On Tue, 2007-01-30 at 05:08 +0100, Arnd Bergmann wrote:
> On Monday 29 January 2007 2
On Tue, 2007-01-30 at 15:41 -0600, Maynard Johnson wrote:
[snip
> [snip]
> >>+ // process the collected SPU PC for each node
> >>+ for_each_online_cpu(cpu) {
> >>+ if (cbe_get_hw_thread_id(cpu))
> >>+ continue;
> >>+
> >>+ node =
Christoph:
In our earlier work on the PPU profiling patch, Benjamin Herrenschmidt
said that we should remove macros that are only used once and just put
the actual code in. That is why the macros were removed.
Carl Love
On Tue, 2007-01-30 at 11:39 +0100, Christoph Hellwig wrote
Christoph:
In our earlier work on the PPU profiling patch, Benjamin Herrenschmidt
said that we should remove macros that are only used once and just put
the actual code in. That is why the macros were removed.
Carl Love
On Tue, 2007-01-30 at 11:39 +0100, Christoph Hellwig wrote
On Tue, 2007-01-30 at 15:41 -0600, Maynard Johnson wrote:
[snip
[snip]
+ // process the collected SPU PC for each node
+ for_each_online_cpu(cpu) {
+ if (cbe_get_hw_thread_id(cpu))
+ continue;
+
+ node = cbe_cpu_to_node(cpu);
+
Arnd:
Well most of the patch is simply cleaning up the
pm_rtas_activate_signals() routine. I would be think
pm_rtas_activat_signals routine cleanup would be good.
Carl Love
On Tue, 2007-01-30 at 05:08 +0100, Arnd Bergmann wrote:
On Monday 29 January 2007 20:47, Maynard
36 matches
Mail list logo