Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41D41C7EE2E for ; Tue, 28 Feb 2023 11:36:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231324AbjB1LgO (ORCPT ); Tue, 28 Feb 2023 06:36:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbjB1LgF (ORCPT ); Tue, 28 Feb 2023 06:36:05 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0569EF971 for ; Tue, 28 Feb 2023 03:36:04 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id 6-20020a17090a190600b00237c5b6ecd7so8844286pjg.4 for ; Tue, 28 Feb 2023 03:36:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=o//K/tErGPaPJ52r46l6Rxq+plE4dBlL3n3ahROgLsA=; b=D6k8bxREcPgb0FmW6ZpVz/wG9B5iQfpxlbGjk+Hi12FAw/wxJlITtDRe/EGC9pzTjA moa0q6yPJxYUmyEWj492+kaFVyYvdKMyniovt1TUgduSOk6tnxx6/rA8iJFsaCsu/K2Z PoSFMaWSHBXBtRNIs56fiJ62jIYeuDh3z+NkAjmB2Wg3uo6jON0rRjS08tBLfGR9bFmo jK1+rWeOkk0m2B/G9z64/cTj9agn4Eyu7nxYfO4TPSW/pt5bC1HAl5D6rZehsLMYQBDy VTIuzykyGeMRvJHtyUsIM9bzWdN+fi/SZLCSNUpiap6cBdHm4KYcukofgrk77pSWmzHW 4OHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=o//K/tErGPaPJ52r46l6Rxq+plE4dBlL3n3ahROgLsA=; b=7vr4ifiLOySFSAJ6uCicuypDuJ+kGyj/moLVSNhL63q0VRjCczq7ZgklAD+I8N8dBR AJI4d3FlueMJ4oJt4TuS7BOVocFjcXFPqzhUoE3WzFAZgiw2y52o9iDDzvur+/xYfyeH VZd/xnwdCHovhimrhRMyrkhfCVs3hprTJ+oYWGuyakClU62yEW6msQmB9woScLmOWUem OkYmzDM+fpV9dROSmc2Pujb5Rm+HTZ06gNFvaKnCD6I+LEfcVZshhfuwcpUneLkW7ngQ +/sUHzd+s1LqVFLNMUmEDxvPs2jtchexz2HjODI73OTTZvOEmbQPmdkf5GHU8murbpXA ZiHQ== X-Gm-Message-State: AO0yUKUjHfo3Yfcj4ujYN1/lUy9AFc5Bmhzb+K6E29E9kwS7VP0iKmBi 98pZeH34wmHZmEee3UGLClvxeA== X-Google-Smtp-Source: AK7set9d8OSjLjeV3pqXHAmC+UhG8CPdsw8c53sE0CrU+XDHEF6X+GrnWDDTo0c2Cwo30jzN3xNOzA== X-Received: by 2002:a17:90b:4acd:b0:233:f354:e7df with SMTP id mh13-20020a17090b4acd00b00233f354e7dfmr2988992pjb.18.1677584163380; Tue, 28 Feb 2023 03:36:03 -0800 (PST) Received: from leoy-yangtze.lan (n058152048225.netvigator.com. [58.152.48.225]) by smtp.gmail.com with ESMTPSA id p2-20020a17090a348200b00233567a978csm7784204pjb.42.2023.02.28.03.35.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 03:36:02 -0800 (PST) Date: Tue, 28 Feb 2023 19:35:57 +0800 From: Leo Yan To: James Clark Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 13/14] perf kvm: Add TUI mode for stat report Message-ID: References: <20230228084147.106167-1-leo.yan@linaro.org> <20230228084147.106167-14-leo.yan@linaro.org> <678c5939-f512-d4f8-e290-9c0f2bf05023@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <678c5939-f512-d4f8-e290-9c0f2bf05023@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, On Tue, Feb 28, 2023 at 11:12:17AM +0000, James Clark wrote: [...] > > +static void print_result(struct perf_kvm_stat *kvm); > > + > > +#ifdef HAVE_SLANG_SUPPORT > > Hi Leo, > > I get an error because of this addition when building on x86. I think > it's because I don't have HAVE_SLANG_SUPPORT. It might be the same error > that you mentioned on v1? > > builtin-kvm.c:535:13: error: ‘print_result’ used but never defined > [-Werror] > 535 | static void print_result(struct perf_kvm_stat *kvm); It's a bit weird for reporting this issue, since you could see I have moved the function definition for print_result() ahead the macro condition '#ifdef HAVE_SLANG_SUPPORT'. But I found building failure with below command: $ make VF=1 DEBUG=1 NO_SLANG=1 Let me repin this patch for the building failures; sorry I have been negligent. > Other than that, for the whole set: > > Reviewed-by: James Clark Thanks a lot for reviewing! I will apply your tag in next spin except patch 13. Leo