From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752763AbcBLN40 (ORCPT ); Fri, 12 Feb 2016 08:56:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59241 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752446AbcBLN4Z (ORCPT ); Fri, 12 Feb 2016 08:56:25 -0500 Date: Fri, 12 Feb 2016 14:56:14 +0100 From: Jiri Olsa To: Wang Nan Cc: Alexei Starovoitov , Arnaldo Carvalho de Melo , Arnaldo Carvalho de Melo , Brendan Gregg , Adrian Hunter , Cody P Schafer , "David S. Miller" , He Kuang , =?iso-8859-1?Q?J=E9r=E9mie?= Galarneau , Jiri Olsa , Kirill Smelkov , Li Zefan , Masami Hiramatsu , Namhyung Kim , Peter Zijlstra , pi3orama@163.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 12/54] perf tools: Enable config raw and numeric events Message-ID: <20160212135614.GF16190@krava.redhat.com> References: <1454680939-24963-1-git-send-email-wangnan0@huawei.com> <1454680939-24963-13-git-send-email-wangnan0@huawei.com> <20160212135245.GE16190@krava.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160212135245.GE16190@krava.redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 12, 2016 at 02:52:45PM +0100, Jiri Olsa wrote: SNIP > > > got compile error: > > > [jolsa@krava perf]$ make JOBS=1 > BUILD: Doing 'make -j1' parallel build > BISON util/parse-events-bison.c > util/parse-events.y:436.23-38: error: symbol opt_event_config is used, but is not defined as a token and has no rules > PE_VALUE ':' PE_VALUE opt_event_config > ^^^^^^^^^^^^^^^^ > util/parse-events.y:442.68-69: error: $4 of ‘event_legacy_numeric’ has no declared type > ABORT_ON(parse_events_add_numeric(data, list, (u32)$1, $3, $4)); > ^^ > util/parse-events.y:443.34-35: error: $4 of ‘event_legacy_numeric’ has no declared type > parse_events__free_terms($4); > ^^ > util/parse-events.y:454.74-75: error: $2 of ‘event_legacy_raw’ has no declared type > ABORT_ON(parse_events_add_numeric(data, list, PERF_TYPE_RAW, $1, $2)); > ^^ > util/parse-events.y:455.34-35: error: $2 of ‘event_legacy_raw’ has no declared type > parse_events__free_terms($2); > ^^ > util/Build:122: recipe for target 'util/parse-events-bison.c' failed > make[3]: *** [util/parse-events-bison.c] Error 1 > /home/jolsa/kernel/linux-perf/tools/build/Makefile.build:116: recipe for target 'util' failed > make[2]: *** [util] Error 2 > Makefile.perf:434: recipe for target 'libperf-in.o' failed > make[1]: *** [libperf-in.o] Error 2 > Makefile:68: recipe for target 'all' failed > make: *** [all] Error 2 ugh missed the patch 7.. sry for noise jirka