From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753474AbbCWVbj (ORCPT ); Mon, 23 Mar 2015 17:31:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47960 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752772AbbCWVbh (ORCPT ); Mon, 23 Mar 2015 17:31:37 -0400 Date: Mon, 23 Mar 2015 13:20:38 -0300 From: Arnaldo Carvalho de Melo To: Javi Merino Cc: jolsa@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH v8 2/2] tools lib traceevent: Add support for __print_array() Message-ID: <20150323162038.GE3404@redhat.com> References: <1426875176-30244-1-git-send-email-javi.merino@arm.com> <1426875176-30244-3-git-send-email-javi.merino@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1426875176-30244-3-git-send-email-javi.merino@arm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Cc: Jiri Olsa > Acked-by: Steven Rostedt > Acked-by: Namhyung Kim > Signed-off-by: Javi Merino 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