Em Fri, Mar 20, 2015 at 06:12:56PM +0000, Javi Merino escreveu: > Since 6ea22486ba46 ("tracing: Add array printing helper") trace can > traces with variable element size arrays. Add support to parse them. > > Cc: Arnaldo Carvalho de Melo <a...@redhat.com> > Cc: Jiri Olsa <jo...@redhat.com> > Acked-by: Steven Rostedt <rost...@goodmis.org> > Acked-by: Namhyung Kim <namhy...@kernel.org> > Signed-off-by: Javi Merino <javi.mer...@arm.com>
Oops: CC util/pmu-flex.o util/scripting-engines/trace-event-python.c: In function ‘define_event_symbols’: util/scripting-engines/trace-event-python.c:205:2: error: enumeration value ‘PRINT_INT_ARRAY’ not handled in switch [-Werror=switch-enum] switch (args->type) { ^ cc1: all warnings being treated as errors make[6]: *** [util/scripting-engines/trace-event-python.o] Error 1 make[6]: *** Waiting for unfinished jobs.... util/scripting-engines/trace-event-perl.c: In function ‘define_event_symbols’: util/scripting-engines/trace-event-perl.c:190:2: error: enumeration value ‘PRINT_INT_ARRAY’ not handled in switch [-Werror=switch-enum] switch (args->type) { ^ cc1: all warnings being treated as errors make[6]: *** [util/scripting-engines/trace-event-perl.o] Error 1 make[5]: *** [scripting-engines] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [util] Error 2 make[3]: *** [libperf-in.o] Error 2 make[2]: *** [all] Error 2 test: test -x ./perf make[1]: *** [make_pure] Error 1 make: *** [build-test] Error 2 make: Leaving directory `/home/acme/git/linux/tools/perf' real 0m14.738s user 1m2.124s sys 0m8.653s [acme@ssdandy linux]$ First one is applied, please fix this one. [acme@ssdandy linux]$ gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.3/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.3-20140911/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.3-20140911/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) [acme@ssdandy linux]$ - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/