Hi,

Ok, patches applied with a fix to avoid segfault with showevtinfo and
tests/validate:
Please pull and verify that it works for you too.

diff --git a/lib/pfmlib_s390x_cpumf.c b/lib/pfmlib_s390x_cpumf.c
index 025c9d2..d424466 100644
--- a/lib/pfmlib_s390x_cpumf.c
+++ b/lib/pfmlib_s390x_cpumf.c
@@ -250,6 +250,9 @@ pfmlib_pmu_t s390x_cpum_cf_support = {
        .num_fixed_cntrs = CPUMF_COUNTER_MAX,   /* fixed counters only */
        .max_encoding    = 1,

+       .pe              = cpumf_generic_ctr,
+       .pme_count       = LIBPFM_ARRAY_SIZE(cpumf_generic_ctr),
+
        .pmu_detect    = pfm_cpumcf_detect,
        .pmu_init      = pfm_cpumcf_init,
        .pmu_terminate = pfm_cpumcf_exit,


On Wed, Nov 28, 2012 at 1:45 PM, Hendrik Brueckner
<brueck...@linux.vnet.ibm.com> wrote:
> Hi Stephane,
>
> On Wed, Nov 28, 2012 at 01:40:13PM +0100, stephane eranian wrote:
>> On Wed, Nov 28, 2012 at 11:15 AM, Hendrik Brueckner
>> <brueck...@linux.vnet.ibm.com> wrote:
>> > Hi all,
>> >
>> > this patch series enables Linux on System z (s390x) and adds support
>> > for the CPU-measurement counter facility (cpum_cf) that is available
>> > since IBM System z10 mainframe systems.  The CPU-measurement counter
>> > facility provides basic counters for cycles, instructions, and also
>> > crypto-activity counters.  An extended counter set provides
>> > machine-dependent counters for TLB and cache operations.
>> >
>> > The kernel backend to manage these counters is available since v3.4
>> > with commit ID 212188a596d17d519842ef2173150315735b54e1.
>> >
>> > Please have a look at the patches.  Review feedback is very welcome.
>> >
>> Thanks for your patches. I will apply them. However, I am wondering if
>> you did not forget to send me one patch. The header seems to indicate
>> 2 patches, but only one of the emails contains a patch.
>
> Hmm... you are right.  Not sure why git send-email actually missed that
> one.  I will send it again.
>
> Kind regards,
>   Hendrik
>

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to