Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp71076imm; Wed, 5 Sep 2018 15:10:53 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZjF3mrW9Aov0gASwof0Qas92NsSvkejdhB8SI+NN/Z6KUmQyTSh+v86+irYHIDTxhKpx97 X-Received: by 2002:a63:1064:: with SMTP id 36-v6mr4581791pgq.254.1536185452997; Wed, 05 Sep 2018 15:10:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536185452; cv=none; d=google.com; s=arc-20160816; b=zXSm30xzP1JuDokfsC2rLC500QBUZ/9PafkUUoY2ViNX8QIDrU6f7ozj1GJ9XDr9le UbtF4pNoXJ4PRcbyyowWYYbpQ3IO+mhmuvRhTfiwQjSqr27imW6Bvk2ERimFo3NlbR73 94fR+XSLauqN7n7v+I/5DtPZTo/ZbfyvNYs+YyQv6AdVGOwXRjxn5gy7WWBapxQJrkEE pQbSkorEXjKrvNs3IlBRlkjaQZ0IjJ0EDp0Db83yXoazjhRizpD8R4tlAqhUP7L8ULAS WLbGy4KRTZQnK/TzcdofKsuZP5czhqwOP/Q1HBzLsbrcsXS+YUdIaEqjs30IcYWdbt4v ABeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=KqROLlWYZKyfbWlQE3q1zjTHsSbsq7Tyu+S0n6RkuKY=; b=RzOA9pnPlbWTMqHxjxzfKhUwL668T6LOOHh77/rqJsHzBPrtKJHBq8eZqQc2qCOZSQ 3tdl4+/ZNSggmAjnG9ABAaAW/iPDJu1Jmcz5f87EFXSwBL3P6BlrqjnE5DHktkyKaKUQ c5PKlNcThrTf676aqyfKk0+w9oXhY1L8qcwCHLLwQBu7quAr09IXAk0PD3FJy8/UwH4c xOetBtf8paOQc4kds6dcRYsdnK3NnV72XzcSJaKlHUjqmqZiSHhFLb8oMxuhajma21x9 DVzYRjOcEYJQPuK+6RmrYvnQAa49/0cKXL6It3VIoYFMWFAJTY1wCj6ww2V/qGcMgxI3 FsKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WMIluB15; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z16-v6si3262526pgi.252.2018.09.05.15.10.31; Wed, 05 Sep 2018 15:10:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WMIluB15; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729096AbeIFCki (ORCPT + 99 others); Wed, 5 Sep 2018 22:40:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:55778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727843AbeIFCkh (ORCPT ); Wed, 5 Sep 2018 22:40:37 -0400 Received: from jouet.infradead.org (unknown [179.97.41.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 884ED20857; Wed, 5 Sep 2018 22:08:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536185305; bh=R0qb7C5Q0QhTb7x2qFEfiSDr3/izImxVhoM1pkP/xCk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WMIluB15V6AFN3+hsOpGKUKki9VgnBU7Z3eGgNlC0RIgzNLg5NnfG9kQ+GkUV6mAR omJg6XwA9bBSmkUcArI6czV5Chdc80nZPJHHlDVclowPplFORiiLJHwSjqyQW+tLME /poczK6Y3scmW7liOatFZD69s6ookl3/LC8UMuNc= From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , Adrian Hunter , David Ahern , Jiri Olsa , Namhyung Kim , Wang Nan Subject: [PATCH 76/77] perf map: Turn some pr_warning() to pr_debug() Date: Wed, 5 Sep 2018 19:04:39 -0300 Message-Id: <20180905220440.20256-77-acme@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180905220440.20256-1-acme@kernel.org> References: <20180905220440.20256-1-acme@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnaldo Carvalho de Melo Annoying when using it with --stdio/--stdio2, so just turn them debug, we can get those using -v. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: https://lkml.kernel.org/n/tip-t3684lkugnf1w4lwcmpj9ivm@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/map.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c index 36d0763311ef..3f07a587c8e6 100644 --- a/tools/perf/util/map.c +++ b/tools/perf/util/map.c @@ -320,12 +320,11 @@ int map__load(struct map *map) build_id__sprintf(map->dso->build_id, sizeof(map->dso->build_id), sbuild_id); - pr_warning("%s with build id %s not found", - name, sbuild_id); + pr_debug("%s with build id %s not found", name, sbuild_id); } else - pr_warning("Failed to open %s", name); + pr_debug("Failed to open %s", name); - pr_warning(", continuing without symbols\n"); + pr_debug(", continuing without symbols\n"); return -1; } else if (nr == 0) { #ifdef HAVE_LIBELF_SUPPORT @@ -334,12 +333,11 @@ int map__load(struct map *map) if (len > sizeof(DSO__DELETED) && strcmp(name + real_len + 1, DSO__DELETED) == 0) { - pr_warning("%.*s was updated (is prelink enabled?). " + pr_debug("%.*s was updated (is prelink enabled?). " "Restart the long running apps that use it!\n", (int)real_len, name); } else { - pr_warning("no symbols found in %s, maybe install " - "a debug package?\n", name); + pr_debug("no symbols found in %s, maybe install a debug package?\n", name); } #endif return -1; @@ -701,8 +699,7 @@ static int maps__fixup_overlappings(struct maps *maps, struct map *map, FILE *fp if (verbose >= 2) { if (use_browser) { - pr_warning("overlapping maps in %s " - "(disable tui for more info)\n", + pr_debug("overlapping maps in %s (disable tui for more info)\n", map->dso->name); } else { fputs("overlapping maps:\n", fp); -- 2.14.4