Re: [PATCH] perf, tools, pmu-events: Fix fixed counters on Intel

From: Andi Kleen
Date: Wed Sep 09 2015 - 17:24:37 EST


>
> pmu-events/jevents.c:247:2: error: missing initializer for field ânameâ of âstruct fixedâ [-Werror=missing-field-initializers]

Thanks.

Somehow a WERROR=0 must have slipped into the build script again.


> After this I was able to get non-zero counts for the 'inst_retired.any'
> event on my system. Without the patch, I get 0 count for the event.
>
> I pushed this commit to the 'json-v16' branch.
>
> I also noticed an "Unknown MSR" message when building 'jevents':
>
> CC /root/suka/linux-acme.git/tools/perf/perf-obj/pmu-events/jevents.o
> LD /root/suka/linux-acme.git/tools/perf/perf-obj/pmu-events/jevents-in.o
> LINK /root/suka/linux-acme.git/tools/perf/perf-obj/pmu-events/jevents
> GEN /root/suka/linux-acme.git/tools/perf/perf-obj/pmu-events/pmu-events.c
> jevents: Unknown MSR in event file 0x3F7

I'll take a look and send a patch for that.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/