From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755575AbbIAJ4b (ORCPT ); Tue, 1 Sep 2015 05:56:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43524 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752741AbbIAJ43 (ORCPT ); Tue, 1 Sep 2015 05:56:29 -0400 Date: Tue, 1 Sep 2015 11:56:26 +0200 From: Jiri Olsa To: Stephane Eranian Cc: linux-kernel@vger.kernel.org, acme@redhat.com, peterz@infradead.org, mingo@elte.hu, ak@linux.intel.com, namhyung@kernel.org, kan.liang@intel.com, dsahern@gmail.com, adrian.hunter@intel.com Subject: Re: [PATCH] perf record: fix link time error with sample_reg_masks on non x86 Message-ID: <20150901095626.GA12968@krava.brq.redhat.com> References: <1441099814-26783-1-git-send-email-eranian@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1441099814-26783-1-git-send-email-eranian@google.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 01, 2015 at 11:30:14AM +0200, Stephane Eranian wrote: > This patch makes perf compile on non x86 platforms by defining > a weak symbol for sample_reg_masks[] in util/perf_regs.c. > > The patch also moves the REG() and REG_END() macros into the > util/per_regs.h header file. The macros are renamed to > SMPL_REG/SMPL_REG_END to avoid clashes with other header files. > > Signed-off-by: Stephane Eranian Acked-by: Jiri Olsa thanks, jirka