Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp27208lqg; Wed, 10 Apr 2024 14:12:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAM+z06FtKF4b6Gu38QN0brZvIATRCs3rOUGQFp3DwKwTCFLlRbPrHd7TlNhbDQdrIbflbqcXFmdyHkc+8ms8Ynh1pkifhTF81j9EI3Q== X-Google-Smtp-Source: AGHT+IHmNjCeYezs6bNB0mbNwkTuInVI1bIA3tPclE/yUYKWsnXG7ZTqvRVGq9lj91tcyK3gx7u2 X-Received: by 2002:a17:906:699:b0:a51:9575:bd3a with SMTP id u25-20020a170906069900b00a519575bd3amr542259ejb.38.1712783557818; Wed, 10 Apr 2024 14:12:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712783557; cv=pass; d=google.com; s=arc-20160816; b=ymVId5Ui82FdajkH2SXfi/OTBTJTjSkMVxlidCnryNzyN9VXL+92jPtZ0zLcCYOYkr tolmjWlO8UEZ91/D9n8iHJUAFTyl2gROuqx/vml75t9egP87v1muEXSJfLjfFaYvwa0m 7IWilhfYx3uR8dl4XPdDHVPvtmWXYFxxSkUOHSO5hXgJA06Umy/HNZ4ByYQ6ogpohCt0 wHBzNn9W/37WDYC0BfxRejrPhHGVY7vROEDkJqTVrahUY1umsiQmGbdcFBQC/IslA/IC UWj6zypMj5J/YAuopKzaOE9NatSPpMGFxymR6K5ptYYj8BK71jYRpPfU7kGRBfDqu/YP es5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AWg4zcTJV8PHlaZq5Y2/BIp4+TVOPjbIxcF52F+3Ut8=; fh=49GrrO/H3LiGmymuFnNd59pBYHHWBS2xk/6Ejg0rn8E=; b=kj5W9tN+s+3NuwNCB1BsIGOx2jcJT9fbzhztn3wnQ4JEwCBCFT38B3yg0rIjLMqZGt 5UK4m10JMjUjhxSw+2cf8GQbralHARSvYsIjZ2wJvh8V0giNvp3lYrSxL5ipMIxlmznW WEoIugKhsMiCyI+ihJM74ThAksPa/Oz6ogv0ChOrYJLO4jxzc6ZaX/BA2JT7zQ3/AvWX oo9iqarDN7RFGjK54TUzpXenlnpSxD2HPgiJuwGcFcXEhsd2bqtbYszJPOiCKF/e2jYF 1Pn4CqM0FsULm9SIJDyhXDhuHuVUGM7lEsik3PJDiePJHD8UGIQxPxl7yMfod9nOLtzN pVww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F5q4Ex2y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139355-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139355-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s19-20020a170906bc5300b00a4e98614b44si31717ejv.958.2024.04.10.14.12.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 14:12:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139355-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F5q4Ex2y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139355-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139355-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8B57C1F24249 for ; Wed, 10 Apr 2024 21:12:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C6E01836D9; Wed, 10 Apr 2024 21:12:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="F5q4Ex2y" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C8FE15AAD6; Wed, 10 Apr 2024 21:12:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712783552; cv=none; b=KoF5zoTrQkHQMjg3ysS5BicVJ/Xil98pzDCFRG1K8O/FAK5ujcrMubU+iDgYUCYCApX+nJZMQhyOxxPUI24gO4bxF7+Y55uYSytMzRdDQ2SIJyrQ6qsx5xsGbIquNawcOybz3Yg4a65P6diADiWM7Q7TY7NEw2gdGgDM2fhTSgk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712783552; c=relaxed/simple; bh=yXHrm4oNsaREeWD8WzzrWdGYU8kUpgUOMltnXmVE4xc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=A1/et5dA8L4Yr2sS4KGN9U69eo5ZHIgwRlJCmNB9PQsMVXwxlwaK2gw1YZqF/6uxEJkZ9IY6qXg3FwNYA0Dm+QDrVUZiiB2CdBr9No3WCanM1rGRvPXaJJ/Go4Rg/BIdLyYqMKJMUOkWdwKlMwarXFEoOnxePDAv2YjEYyMWFpI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=F5q4Ex2y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9FA1C433C7; Wed, 10 Apr 2024 21:12:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712783552; bh=yXHrm4oNsaREeWD8WzzrWdGYU8kUpgUOMltnXmVE4xc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F5q4Ex2yiTcT15xb8oUkn8MGdhGdVeHVlIkb+hKsw36sR45RlkkO5T3uy41AoxG6g cczcy9ZpBgH1D4+7fOblR0qNr7LKpYiZo9WIDEWlHqdzMuMsRmHM3XbOYG56NYvyvO s/vJfOn2Xnm3Epaib+mMwhkhLAfhlV2nm1t/drs3AcAkN0YtD3i+HZgkrQ/x2PUNu9 wP0psxHXOphU3UMmmtwb1uZfGKVmePc7mgS+FzMPUK4sDHBhUJvKLXf8QkvizJYdjk g468zSR1uTndXsv6+xCms6V7yBTFm6YhNbJIYo2RB7NV+SKoVj3/brDpr6AmyXDsgV h9/YZVCvawykQ== Date: Wed, 10 Apr 2024 18:12:29 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Ian Rogers , Kan Liang , Jiri Olsa , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org Subject: Re: [PATCH 3/6] perf annotate-data: Add hist_entry__annotate_data_tui() Message-ID: References: <20240409235000.1893969-1-namhyung@kernel.org> <20240409235000.1893969-4-namhyung@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Apr 10, 2024 at 06:05:27PM -0300, Arnaldo Carvalho de Melo wrote: > On Wed, Apr 10, 2024 at 06:04:26PM -0300, Arnaldo Carvalho de Melo wrote: > > On Wed, Apr 10, 2024 at 05:21:01PM -0300, Arnaldo Carvalho de Melo wrote: > > > On Tue, Apr 09, 2024 at 04:49:57PM -0700, Namhyung Kim wrote: > > > > Support data type profiling output on TUI. > > > > > > Added the follow to the commit log message, to make reviewing easier. > > > > > > As followup patches I think having the DSO name together with the type > > > is important, also I think we could have a first menu with all the pairs > > > of DSO/type, sorted top down by the types with most samples, wdyt? > > > > > > Applied. > > > > > > > There is something else here with the static build, checking... > > Probably because of: > > Makefile.config:810: slang not found, disables TUI support. Please install slang-devel, libslang-dev or libslang2-dev > > Fixing... Trying with: diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 6f7104f06c42d98a..458eafe65e4aa16f 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -469,9 +469,11 @@ static void hists__find_annotations(struct hists *hists, goto find_next; } +#ifdef HAVE_SLANG_SUPPORT if (use_browser == 1) key = hist_entry__annotate_data_tui(he, evsel, NULL); else +#endif key = hist_entry__annotate_data_tty(he, evsel); switch (key) {