Build failure due to Intel PT

From: Sukadev Bhattiprolu
Date: Mon Aug 24 2015 - 14:53:17 EST

I am trying to build perf tool on Powerpc and get this:

util/intel-pt-decoder/intel-pt-insn-decoder.c: In function âintel_pt_insn_decoderâ:
util/intel-pt-decoder/intel-pt-insn-decoder.c:138:3: error: switch missing default case [-Werror=switch-default]
switch (insn->immediate.nbytes) {
cc1: all warnings being treated as errors

Besides adding a 'default' case, can this file be skipped when building on
non-x86 architectures?

I am on the perf/core branch, with HEAD pointing to:

commit c0b4dffbc529244d3e4e3bd392f2bffa2d8531a7
Author: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Date: Mon Aug 24 13:33:14 2015 -0300

perf annotate: Reset the dso find_symbol cache when removing symbols


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at