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 27E14C64ED6 for ; Tue, 28 Feb 2023 11:36:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231237AbjB1LgN (ORCPT ); Tue, 28 Feb 2023 06:36:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231382AbjB1LgF (ORCPT ); Tue, 28 Feb 2023 06:36:05 -0500 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05FA31258C for ; Tue, 28 Feb 2023 03:36:04 -0800 (PST) Received: by mail-pl1-x629.google.com with SMTP id n6so8681243plf.5 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=nHWu+pLcxnBFzArTvrLw27aioMd88qHPVHrkgRX7AD+liRANFjlyTWoJENYeBHFyKV AlKNe5ozxL4bS+DyeQVkSSwIRKauPdQfN6+LbuVnQ5GnsjQi1BqGJ0KmwhpHUD7eaheI Yojq1PjdvN2ha+M9f+KGDIVZqcZlzl5z2fpoXDy/r7ZDiKduelM3DWx2Yyl17plmbS6p IZnpqQcPy6vGFQtk02w2D9XUgkvT80atNy21DPdosbWl0sB2G/av8EI3eQ5G59hi31ko J6MzFSrc4Faw/pP+YkD1NOa06EEIcQNAXpvnFeibE+J0h4BiwAPd40o9IzLJjZDAAtMf UdFw== X-Gm-Message-State: AO0yUKV545W2/89NTJDk+C7ifMupZkBgi4Q3S4TSXQ0JtRtLVk6vvQXm lAx56drwS0hOj2m7gsFEmD2WrQ== 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-perf-users@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