Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp87534lqg; Wed, 10 Apr 2024 16:52:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWJxezNttm3W2kEx3sh+qSfg5ijbE4dEyDA69Od764ae8dIaQU7Ri1VbI+8b9mfhr6GzyOF/tAsblYG2/3113MaYBiAMw6Pv7pHFqWWHw== X-Google-Smtp-Source: AGHT+IGB5zs5JrpCLd4pyeGWPc6AsCuY09ytM2MbmfTQiQI9wpUYdVxjF5Vl63quIpux+B2oO/Q4 X-Received: by 2002:a17:90a:ea04:b0:2a6:4293:f88c with SMTP id w4-20020a17090aea0400b002a64293f88cmr298765pjy.16.1712793126181; Wed, 10 Apr 2024 16:52:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712793126; cv=pass; d=google.com; s=arc-20160816; b=i3gwmHYlhTsE6+9BZ9vVSet9CYjHZoyYYWCz8H41jmZB9H9zZBDyOkS3lceid1B3/a Ejha3ZBUYm+CTUGSo3xGxP7Pc4uw4SsQsFmAwTwZt7PlLPlPQqyJ6mhJrIX9XLdhxvFH CLbtnGL9Z9nSUrGkK5gStQe4eZ95TcCgXtJcUSad50LBBZ7QZN84G0LsN010s8Hm5aUd ttvOVMXqwRyaBWC1PhFHucCdKy8RpO2Cxvu8LXCimbo7gehCLH1nQb5eT8rUmw6uNQeM wcTrzNm4YhObhepr6eEpTwKO67n69TI5TV+HenfWO8dnQWSnMHsJag/u8iH+HueZUxhT rbyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=53OBmNyk70ZNGHwUGm3I1IvF04+FN0hyjQYeieocvs0=; fh=hKg5Y4nGp/Rgt4L3L13Mvsjtq9jMYVac7B+F3d/WdHo=; b=JSNQpcTyQbRSWdPKpUgGOGGIw9/4f5+jDSMQ/RLtD/mvMUvrfSXEJSrHeLvtxhd/ZE vAeDNbkA4k878ORHAZi8IT9DGWijlucqO7Af9PgeQ5sGG9MynqBu/Zd7Uc6VZ5J2JZ/Q MRrW+F5fLte/MkG7NpaiNElvVotpuO/GDmk9Y47vEEA/ow/lgrXkk0aUYIiFGvQCkCSQ Wo8oZs/Hqpp8Vx605uqW4AFbyVDaMSVcx23edXbQOleOcaI9ibZl6sms1woGYTH7uBTl KDqj2ixNyLFcabQzq2l5DVnokMLhaQDtdWx0teDS5Z/KG9ziwluQvioIOihQVIsfpU3g 38Gw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-139549-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139549-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id on11-20020a17090b1d0b00b002a5debb6badsi325473pjb.36.2024.04.10.16.52.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 16:52:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139549-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-139549-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139549-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id AFA21B24CF5 for ; Wed, 10 Apr 2024 23:50:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE44B3FB1E; Wed, 10 Apr 2024 23:50:05 +0000 (UTC) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC65BC132; Wed, 10 Apr 2024 23:50:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712793005; cv=none; b=fXnvPM58lFvrZLBdPMhZHr0aMsG9nq+bzHTTBpBpRYx6RxTq0xrLZ6VM1nabQhkRWe9jAuOtRK74H0gtrnlLmyryuRnSQrQfUJCW6193d3PQg85eD8T5oTRs4mvjPwJr6oIdrw1npu3GkLnIXR6N1DGuBlGmy/wBcEiq/zW+sxk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712793005; c=relaxed/simple; bh=bRWJYdWzj/coHs4B1Gcd43qql80WSaQ7XRwLGU5SzGk=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=lcROfMYyPnmOKn7E5DMbyE4LpJ3rpqPJVlDiw81PtXu9HlCx9ylvSRGHh4aBj71NiN5JY3gABzcAGQOAk4sqI8GtXUFWirYH30lda6wLodGGJ8GCEtBakypIYrxCmiq+YpsSY7j/AmQIc5rKNgtRD8DDTeaS+T+yN/wDldW2wyU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.210.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6ed01c63657so4961963b3a.2; Wed, 10 Apr 2024 16:50:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712793003; x=1713397803; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=53OBmNyk70ZNGHwUGm3I1IvF04+FN0hyjQYeieocvs0=; b=Q2E+RHvBrv7NSB/AUE7U6ZoOkr21A8oHUUzKivd63TAmBqnsPx0UOaMJc1qTkt2Ldh 2GIipy0LhGdHcAiJ8+s9B6ndZe5NbHdyMKtxDWbuZFebgBzRX6LWMRHxT9AHCJKEbWjo SjaR44Cg9bgQ3IG2T7dgr7ig5Yl4e6XUVyHMtcxMEtb1tisI+HNSN4yzpqAl+W8s6aZ0 uFaNR9DMwVXnsE6WMWbMT2apiDsSdjar00sDyLdPNBOUt7WZ2e+JZHJ9MJ51gxzWVgFz RW29n5MBD2AOozSFZk/WsoImAqxKIBfLPqVtXjRK9MW8WTYrUxjPvNQVAbqyjN35zjVz vYHg== X-Forwarded-Encrypted: i=1; AJvYcCWbMZuY/4tGczhXx2IFJ8FsmLrJhTmzwO11Mr6lO9wyJW5xd/sBbENuq8jAyrAvo0iXESR4X2XV91iTos7Dhoa5jxLI0ay9k8HHRny/iFX3dboYxiAzIqNVGknAoLOY0wXTRQ7NX46MBi1mlB4fMw== X-Gm-Message-State: AOJu0YzaMuvM0vQXZBt0r6UVsWrgXyr96aqhGyW7eqAfjNPR5xx2j+MG buue4MPWXeK0RLQuwtiO6ks2xCP/uBDNajaS3jfv0QP9FYN02Nn261xkyySgEB89CCUwxYmYw99 9gyysdTOapagoHa5EXVPPRGKgHvREfA== X-Received: by 2002:a05:6a20:12c6:b0:1a9:6c78:6892 with SMTP id v6-20020a056a2012c600b001a96c786892mr2453707pzg.45.1712793003159; Wed, 10 Apr 2024 16:50:03 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240409235000.1893969-1-namhyung@kernel.org> <20240409235000.1893969-4-namhyung@kernel.org> In-Reply-To: From: Namhyung Kim Date: Wed, 10 Apr 2024 16:49:52 -0700 Message-ID: Subject: Re: [PATCH 3/6] perf annotate-data: Add hist_entry__annotate_data_tui() To: Arnaldo Carvalho de Melo Cc: Ian Rogers , Kan Liang , Jiri Olsa , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Apr 10, 2024 at 2:32=E2=80=AFPM Arnaldo Carvalho de Melo wrote: > > On Wed, Apr 10, 2024 at 06:20:06PM -0300, Arnaldo Carvalho de Melo wrote: > > On Wed, Apr 10, 2024 at 06:17:16PM -0300, Arnaldo Carvalho de Melo wrot= e: > > > On Wed, Apr 10, 2024 at 06:12:32PM -0300, Arnaldo Carvalho de Melo wr= ote: > > > > 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 Mel= o wrote: > > > > > > On Wed, Apr 10, 2024 at 05:21:01PM -0300, Arnaldo Carvalho de M= elo 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 al= l 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. Pleas= e install slang-devel, libslang-dev or libslang2-dev > > > > > > > > > > Fixing... > > > > > > > > Trying with: > > > > > > Not really, I need to check for HAVE_DWARF_SUPPORT as well? Doing tha= t > > > > Attempting with: > > Nope, the surgery needed is a bit bigger, as you made > hist_entry__annotate_data_tty dependent on DWARF but calls it without > checking HAVE_DWARF_SUPPORT from builtin-annotate.c. > > I put what I have in tmp.perf-tools-next, please take a look, I'll > continue tomorrow. Oops, thanks a lot for fighting with this. I think I can add a dummy version in case it doesn't have the slang support. I'll send v2 including all your other improvements. Thanks, Namhyung