Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6215881pxv; Thu, 29 Jul 2021 09:04:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeE0WDemyCtuykmZfIb7yXMFrr1Q5irw9I6sg2eaWb0cCxXp1Bdto2mtqLG3WzpbMLfOEw X-Received: by 2002:a17:906:144e:: with SMTP id q14mr5291677ejc.19.1627574652653; Thu, 29 Jul 2021 09:04:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627574652; cv=none; d=google.com; s=arc-20160816; b=hdBRC6X55+G9EVNAFsyzFSLqPzHOUh0uMbGCAURy5RAoUP+dXla/ikkDngje4m5kec +Ckp7QuE+b2JJW3OpznUH0W9o56TQjilDVOYsvAWYebDQ2iUmD8TBmF3A34AmRfWdAse C8oBpXfI2k9chjl8jrcZ27cEkZaLEAxgoiRkNXNLnzIs+tTMoYlQJzfVPEPAuR0Pgj0J CuJWKYMZGgfGHj4z5gEdIYxA4I2Q36M+Nr1SQ/LE/QPmUFz5T5W90VK6YjP3Zu7vhIqY 8c4rvJ7oJ1sDk8toN2lnwhFr414BZ3fg6t3V6rfuQ4dkBaCs/8tbfSgHo4f6EMgjtax9 ZKLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9v+DHTKuyxPMRuWpWptleblhAxDBCnhyHBLhls13YeM=; b=JBwH+j/ogXAw2YgRCD8BV1LXskc/qW1Ow+FJO3NL4xPQilnKKqaaZ41ZiKu6qMr6b2 d3v1pnkNgNVKftS8CiNeuNwr8Nh8Q5mZoEELytYu1jfiYrBubxkFLiTiyWBVaGAFj9ID XesFTmboWHeKJLdecEUrXgiRe33qgzQ+1IZmQCGh3WXjf4fIXJUQrqyJMzrCJEOpnUkG BaXshoaVSNc5b86lXfSqPtTiuvNGUYBpFjsTlqcWqjNupj4OYMNnezPBE+79UE5DDURg FmDmLPxsIMddEemxY1OFUA7DcodkJ0sXR/XrroESCw2Loy8A7lNbd2QpMlwCHovU4QjP cYeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hc31si3146476ejc.612.2021.07.29.09.03.47; Thu, 29 Jul 2021 09:04:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238005AbhG2QAp (ORCPT + 99 others); Thu, 29 Jul 2021 12:00:45 -0400 Received: from foss.arm.com ([217.140.110.172]:51390 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238168AbhG2P7B (ORCPT ); Thu, 29 Jul 2021 11:59:01 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EE8BA106F; Thu, 29 Jul 2021 08:58:57 -0700 (PDT) Received: from e121896.arm.com (unknown [10.57.40.10]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8FA1F3F73D; Thu, 29 Jul 2021 08:58:55 -0700 (PDT) From: James Clark To: acme@kernel.org, mathieu.poirier@linaro.org, coresight@lists.linaro.org, linux-perf-users@vger.kernel.org Cc: leo.yan@linaro.org, suzuki.poulose@arm.com, mike.leach@linaro.org, James Clark , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , John Garry , Will Deacon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH 4/6] perf tools: Add flag for tracking warnings of missing DSOs Date: Thu, 29 Jul 2021 16:58:03 +0100 Message-Id: <20210729155805.2830-5-james.clark@arm.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210729155805.2830-1-james.clark@arm.com> References: <20210729155805.2830-1-james.clark@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Auxtrace support may need DSOs for decoding (for example Arm Coresight). If one of these is missing it would make sense to warn once for each one that's missing, but not flood the output with every address as there could be thousands of lookups. This flag will allow tracking whether a warning was shown for each DSO. Signed-off-by: James Clark --- tools/perf/util/dso.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/dso.h b/tools/perf/util/dso.h index 52e7101c5609..83723ba11dc8 100644 --- a/tools/perf/util/dso.h +++ b/tools/perf/util/dso.h @@ -170,6 +170,7 @@ struct dso { u8 has_srcline:1; u8 hit:1; u8 annotate_warned:1; + u8 auxtrace_warned:1; u8 short_name_allocated:1; u8 long_name_allocated:1; u8 is_64_bit:1; -- 2.28.0