Hi,

On Wed, Nov 28, 2012 at 02:54:11PM +0100, stephane eranian wrote:
> 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,

This works for me and is required when s390x is built on other archs.

Thanks a lot!

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