Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp30736lqg; Wed, 10 Apr 2024 14:20:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURK28MnAKzYSdB9swenX5vJivD4mfwgEpTafh2YNTYtJKD/Uix29/MQwTlZEjNJecL4rSCCzjm3FFAI3MNph14t8nZqcs3bhEJrpi+Vg== X-Google-Smtp-Source: AGHT+IGHybww9IC5j/4KlaNMvbf074wJiQhZGWe/epWp1C3nHp0+6BG9y80hD85c8ozU3QQHbq+A X-Received: by 2002:a05:6214:2585:b0:69b:2d2c:6988 with SMTP id fq5-20020a056214258500b0069b2d2c6988mr4690791qvb.0.1712784014080; Wed, 10 Apr 2024 14:20:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712784014; cv=pass; d=google.com; s=arc-20160816; b=BElJIUF10os0IXZ++2jhCOmo+5BKNUdgwvQvewfd0lgBrOG114n3fPV6Qw5yMHH0Gn RTAbt90WxOW36QG0jHXBumbvZEYXi9nw6UZkdeNlzrjeW5eGu8LDTAETzZMxhQmWaZAr w+1MqrwAmFVmECRDxUzju+wJSBJrLe0jV1FglDgB694/bNO7+jCkPHETHJrXTwTkyb1P oxj2iOofDHeQyB5MDgTtnO5BQ1oV46/7w5hxeo8k0cwxEQOFSBAnkbq2/cTSOuwmEEs9 EKrNJOc4o1ves0WzCbhJEzOhFgjdD5dO1AeOZvfcsFdlHVEDRREen52A0gJTq3oQMRaX MxjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YKNmqwz6z8yuiIk9gGGEdR/ONA78k3sCGd/Ae1ycFFg=; fh=49GrrO/H3LiGmymuFnNd59pBYHHWBS2xk/6Ejg0rn8E=; b=DWZdxhLZFPN1cvqQREN1u05z8e+bOrZfMISIQImbW6j8XrzR0VN44ILf99knIngvQW FR++NmCDGZ/SfF5iD8MhP1MiSBSLWs+2cBdplH4ED2d92N4tlo1FgvV8Etvu+LO9dPHl y/idQ+6aIYE7A76hRRk+YhkDDCl7V5lGRngqMvjUz3t7lZ+Ztmq5f/FdlvaehIyHfeLP 4Q1uuWWaT3YJ2ZUl9SoLFJkjrN0lyFB9L/bUsobFRhZIWMSboWiGJ7pLLOgbNW4JaBUp j39Xt4vcwB/p9dC0aSkPynuyEpRzVmgnJrxl6OWtKm//5gDIczr4X6B1g/ibJSEkqH5i r3yw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VlJbvzav; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139360-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139360-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g4-20020a0cf844000000b00699424a495asi55278qvo.283.2024.04.10.14.20.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 14:20:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139360-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VlJbvzav; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139360-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139360-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 CA2CF1C21A30 for ; Wed, 10 Apr 2024 21:20:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 72EC41836DE; Wed, 10 Apr 2024 21:20:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VlJbvzav" 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 975A217BB2F; Wed, 10 Apr 2024 21:20:06 +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=1712784006; cv=none; b=i8ja+KTdmWcO1ksObBrryfD5G5cRGPj2viXrRLkbJzdRqMwxfxVfCHcZxRdh+QgNpAk/hIOZ/8DA9EsMgCUlTHeexQN3QoPz3zgY3KAI7jOA3WdL6+1ww/GGRfC+hz6JsshJFEuSD5VvlqeM8cbT1SktrPcMcPv5CZOQZMQXOdM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712784006; c=relaxed/simple; bh=v2Cz9Wk8jw/ZYczMkd/oKHigr2oF7K9PTYeW1J3b/jY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=I+hleuZjJoyY3p+qzi5bhjJWf+/t5h+b2xw54cu1KNcJ+T7K+dQS2xs/UHwCw3GdEy4irEMmKDOM0PCM9Kax102/iXi5/O6ilHrq24xqnMplWsBcKx3gsp965NGkz4R6OPWY16RtjHBTv6NNcE3KLw1GbEePjw0NT79rIQ1E564= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VlJbvzav; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6197C433C7; Wed, 10 Apr 2024 21:20:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712784006; bh=v2Cz9Wk8jw/ZYczMkd/oKHigr2oF7K9PTYeW1J3b/jY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VlJbvzavJPCW6x09jTi5JLrekSJAB2AgHwndhmpDeyRRtrkTf958Ok21v3eBtuEV8 LaO/HC4mIgSPoqX2r8VxQHOQQoQdxafk027FKaZmMgu1qbnES1eiPjYEd26vRpLye+ GE/XN12SqHKFhua4G10ASXhQkR122OljOgICyvLKu+MEIa0F147A49+B+pUGhk8bwv P6jG9gQipM4vhld0eKrPf/03Q5BXQm/TaxVBO0t1preNqd6kljQDsaeYl+Zj8ASRLO d0OsaTGn4LWkQMbqemlUTf23AUS9f26xHT1ZZZ8+6W0Rf6Zs+e3gtr/toYFGI5K+V2 EN4vB5mGJuHcg== Date: Wed, 10 Apr 2024 18:20:03 -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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Apr 10, 2024 at 06:17:16PM -0300, Arnaldo Carvalho de Melo wrote: > 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 Attempting with: ⬢[acme@toolbox perf-tools-next]$ git diff diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 458eafe65e4aa16f..521ec7e226e29e6b 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -469,7 +469,7 @@ static void hists__find_annotations(struct hists *hists, goto find_next; } -#ifdef HAVE_SLANG_SUPPORT +#if defined(HAVE_SLANG_SUPPORT) && defined(HAVE_DWARF_SUPPORT) if (use_browser == 1) key = hist_entry__annotate_data_tui(he, evsel, NULL); else ⬢[acme@toolbox perf-tools-next]$