On Sat, 10 Aug 2013, Sukadev Bhattiprolu wrote:
>
> include/uapi/linux/perf_event.h | 55
> +++
> 1 files changed, 55 insertions(+), 0 deletions(-)
> +#define __PERF_LE1234
> +#define __PERF_BE4321
> +
> +#if defined(__KERNEL__)
I could be wrong,
On Sat, 10 Aug 2013, Geert Uytterhoeven wrote:
> JFYI, when comparing v3.11-rc4 to v3.11-rc3[3], the summaries are:
> - build errors: +20/-35
+ arch/powerpc/kernel/cacheinfo.c: error: 'size_kb' may be used uninitialized
in this function [-Werror=uninitialized]: => 526:16
+ arch/powerpc/ker
[PATCH 7/7] powerpc/perf: Export Power7 memory hierarchy info to user space.
On Power7, the DCACHE_SRC field in MMCRA register identify the memory
hierarchy level (eg: L1, L2 etc) from which a data-cache miss for a
marked instruction was satisfied.
Use the 'perf_mem_data_src' object to export th
[PATCH 5/7] powerpc/perf: Define big-endian version of perf_mem_data_src
perf_mem_data_src is an union that is initialized via the ->val field
and accessed via the bitmap fields. For this to work on big endian
platforms, we also need a big-endian represenation of perf_mem_data_src.
Cc: Stephane
[PATCH 6/7] powerpc/perf: Export Power8 memory hierarchy info to user space.
On Power8, the LDST field in SIER identifies the memory hierarchy level
(eg: L1, L2 etc), from which a data-cache miss for a marked instruction
was satisfied.
Use the 'perf_mem_data_src' object to export this hierarchy
[PATCH 4/7] powerpc/perf: Create mem-loads/mem-stores events for Power7
'perf mem' command depends on the support for generic hardware events
'mem-loads' and 'mem-stores'.
Create those events for Power7 and map them both to the event PM_MRK_GRP_CMPL.
While PM_MRK_GRP_CMPL is strictly not restrict
[PATCH 3/7] powerpc/perf: Create mem-loads/mem-stores events for Power8
'perf mem' command depends on the support for generic hardware events
'mem-loads' and 'mem-stores'.
Create those events for Power8 and map them both to the event PM_MRK_GRP_CMPL.
While PM_MRK_GRP_CMPL is strictly not restric
[PATCH 2/7] powerpc/perf: Export Power8 generic events in sysfs
Export existing Power8 generic events in sysfs.
Cc: Paul Mckerras
Cc: Michael Ellerman
Signed-off-by: Sukadev Bhattiprolu
---
arch/powerpc/perf/power8-pmu.c | 23 +++
1 files changed, 23 insertions(+), 0 del
[PATCH 1/7] powerpc/perf: Rename Power8 macros to start with PME
We use helpers like GENERIC_EVENT_ATTR() to list the generic events in
sysfs. To avoid name collisions, GENERIC_EVENT_ATTR() requires the perf
event macros to start with PME.
Cc: Paul Mckerras
Cc: Michael Ellerman
Signed-off-by: S
[PATCH 0/7]: Enable 'perf mem' command for Power
'perf mem' command enables analyzing the memory operations of an
application. It needs the kernel to export the memory hierarcy
level from which a load instruction was satisfied.
It also needs the Power kernel to make the 'mem-loads' and 'mem-store
Sukadev Bhattiprolu writes:
> Andreas Schwab [sch...@linux-m68k.org] wrote:
> | Sukadev Bhattiprolu writes:
> |
> | > {standard input}: Assembler messages:
> | > {standard input}:244: Error: junk at end of line: `1'
> | > make[2]: *** [arch/powerpc/platforms/85xx/smp.o] Error 1
> | > make[1]: *
Andreas Schwab [sch...@linux-m68k.org] wrote:
| Sukadev Bhattiprolu writes:
|
| > {standard input}: Assembler messages:
| > {standard input}:244: Error: junk at end of line: `1'
| > make[2]: *** [arch/powerpc/platforms/85xx/smp.o] Error 1
| > make[1]: *** [arch/powerpc/platforms/85xx/smp.o] Error
Sukadev Bhattiprolu writes:
> {standard input}: Assembler messages:
> {standard input}:244: Error: junk at end of line: `1'
> make[2]: *** [arch/powerpc/platforms/85xx/smp.o] Error 1
> make[1]: *** [arch/powerpc/platforms/85xx/smp.o] Error 2
> make: *** [sub-make] Error 2
Run "make arch/powerpc/
13 matches
Mail list logo