Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp29878lqg; Wed, 10 Apr 2024 14:18:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVV65vG2jxYHp6nADekKiK2vFzZSm6qqN4bKsW6Cjz3PMOSi0ynl7sOZ3qake19/ABl+nZhffFknFej8d+5izYHijBVVUQX9p4ze0h8Mg== X-Google-Smtp-Source: AGHT+IHWD1gXOhtCICTen45P3/xY/4V/9HfjFfNESvNFVgp0OfnpW0myLFEb82VsqGCItp3Cfj/r X-Received: by 2002:a05:6808:1701:b0:3c6:1283:d494 with SMTP id bc1-20020a056808170100b003c61283d494mr1337258oib.36.1712783880403; Wed, 10 Apr 2024 14:18:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712783880; cv=pass; d=google.com; s=arc-20160816; b=kcHsBGZSv4DdnpDMFE8glNdhFIK9zZTdGwf6slNTlDdlvxKAwpbnE7sPqT14sFz08B J3vjM5cKCXHb1VbV+rp6g31t1iMgzQ/z49upp2mHP6ssXb5H6WYMGhjVKJhZDC4Xiekk aN6ybcxOW1jzEMs8OQltlOUHKU6PSlEf6RaL5ennm2uZW/WJN9mq752KVjI9fHGfL8LS bwEGL7Keonw+WJYCHXYr7Qra6It3QeNP+Zgf1GFMKNRTY85YsWJ6h1PYaWkRPe3nVuCW ygPHB66RLOCnbg+SV+HEKGfqrlwLqBrfPzhVVq9YzpYsKufxhnbulAk+NHBdBZH2Fphp C+EQ== 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=ijqabzzJYol8cVX/+SWXOH1R8S3Hv7zgZ1iDCJ4+H6E=; fh=49GrrO/H3LiGmymuFnNd59pBYHHWBS2xk/6Ejg0rn8E=; b=AMtEjKFRnAvFRGgzbVgxs3Yu58TlSmoGbZoujIHoKalKWVSLkWBr90aUKoieuWKFRU iYQwPma9ozLc01tzsA59PUCv+dBT/VhPCHWdm7kq54k7ufbITYWC3etz+vLP47kWk2l2 Fa/9OgXRi1orr+J8ou6clb/M0UAt4JLPxqIRsHzmRcN8BuH5asr1ay1PBsGEeMtIBeRF tRBzekDW8SAG7TnQ0aMzYBryVvWGLkHH0ZdeZ7uXReNTLR2L8ZgTzQfc2Jj3/YwT9HM4 nxZRzzoosYrRLI9b+LuVo6qC9+wMzYBHRrNoyNbdya+FoHcGhaT3eIliN36pSK2l1ydy dFUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PHDKT34r; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139358-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139358-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 9-20020ac85949000000b00431405206f1si46267qtz.545.2024.04.10.14.18.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 14:18:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139358-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PHDKT34r; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139358-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139358-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 050831C22791 for ; Wed, 10 Apr 2024 21:17:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C49CE1836DA; Wed, 10 Apr 2024 21:17:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PHDKT34r" 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 E9FD415AAD6; Wed, 10 Apr 2024 21:17:16 +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=1712783837; cv=none; b=hfJNnbH0WPWUTGIE6RRxqszisAvmAJPPWSedbozn2srHpS1uN/KUxe3taQHk+ACHal/aUh3wQNXKfqpmTSNOhi9pU9t+CcxDyOZJ617uvTLwnxJgRkqgtevxF23oepx9sGy0UD0Yy6AsLMIyipj3OWMGBMKX1VYdY88xUvGrRs0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712783837; c=relaxed/simple; bh=FQ5Wqoh4cq0nJmBRJCK5eYR0utN+IWYq6E2MoFSmXIc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CaNihN0rArvyMsFS+Iu6QUzDOKuM0ahjXs3S/DXps7txxpJbkz2SppbP/xL4aJ5jItCoSEUKKlE7QWuZrSc7xS6UTNO10HSPXBXSR7ewq8l+Cpeg1rgPYP5lpeZhCZoYxk1ktBxoX4fusVGxXnfnHSmEAhajzvVcP7Th0t81oHM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PHDKT34r; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E997AC433C7; Wed, 10 Apr 2024 21:17:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712783836; bh=FQ5Wqoh4cq0nJmBRJCK5eYR0utN+IWYq6E2MoFSmXIc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PHDKT34r85zeEyeIj5dbbqlATvmjM0HLkWr+kqkwrBOGW9+1s1LsynG8asMAlL7tb RR+m02zE8zPY7LQO2K05eUC+I7+E1Kq8j1MlIiZwY99RCI99gupZBvOCBwr1yA9/Yw dge2J54HO4pjLbGs7hhvntCKkh1ExGEJhN8z6z9XPW6jx0FWm907yZJBUmNYaYFTVG QoARcbGS1onlkcPN2Xxpqbv8rN6jx5OWMAoq25DzXEP59VIpuZoUO6D3/6MVAq+XFn Y/f9kMuVEvqYWahd0aY1SdROjdolWY720x+KA0CWNG3oeq8SRZrVfPxc00beR5uG4X FNwWxgV08pYng== Date: Wed, 10 Apr 2024 18:17:13 -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:12:32PM -0300, Arnaldo Carvalho de Melo wrote: > 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: Not really, I need to check for HAVE_DWARF_SUPPORT as well? Doing that - Arnaldo > 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) {