Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3374819pxu; Tue, 15 Dec 2020 05:43:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyex22hmtJDJG+qta671z+7fWn++BjbC3Bq5z5U2oZHgdsQb3fA3KdfUi6hs6S4ZI9PnYf6 X-Received: by 2002:a50:fe8d:: with SMTP id d13mr28311995edt.132.1608039784538; Tue, 15 Dec 2020 05:43:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608039784; cv=none; d=google.com; s=arc-20160816; b=kYM5FeLdpmyB7Fipd++qpt0UQDRXI6roXhKHaerPajTLgoHh7/C+90stOXePmkLsqs S4cRzJSXFtVxQ8OpXs9io4jwv0Z+zZddoJOIFza88lZea6pjlz86/qT0wxgSJvheU4KE X2coKwHrVXq0T8FM3ojOyUILRIDRh9nRKoGunUgNNvoZn21s9E8St+xTzQecU1WFDKCg qcZudGclJ30nTe1zF90mc1uzj1Of2983nzMrM6Yt1cgtUPwK9/zt0NgjyzLDu3dIhKLT F9lVECzzknJfKwo7U029UBfMnlwPPHYJLDlZyHiY1KXD3wyoAJ8nESQPy10PG9yInDTb cQmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=c1srK+j9pXo9ufAqC/HMFq+hxCN/5Roum14isA+9hXc=; b=YT/BMz7oB2l1f7z1nlMuJ/ulTdZkoBSLrOW2YNtqYK28+XeFBoSSbpSXzmTsgXZ2jZ 9ke16msT6cvAqOHIQX95hQfGK/eDTUvB+ER1c4gQAd5sB1zP8TXLUdiK2iYE2HA8JmEO KCDvQJTWV2PlR5LMCWpEBJrT/jCP9JooW2uURKfjXyFZQJozSkHgqg8A4maAsELQkYQe /0NK8fBQDLKCp/KcHRXdvCBuEXXkBrgjxMwT3wLlGcy+opJX55N3kojP5RNk4/MLUmro C/QL/wM2EaIvTSxC0nnSzk7Og7oyr79ecQ5fytAXQHmsMukQVizjeZ9IqffslasFFMBW mfyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qjtQu6P+; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o23si881349edw.247.2020.12.15.05.42.41; Tue, 15 Dec 2020 05:43:04 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qjtQu6P+; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728676AbgLONkU (ORCPT + 99 others); Tue, 15 Dec 2020 08:40:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:55304 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727925AbgLONkL (ORCPT ); Tue, 15 Dec 2020 08:40:11 -0500 Date: Tue, 15 Dec 2020 10:39:44 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608039571; bh=n1Y12IPuz8WsBnrwJuGQFrYwwxg9rQjCXiDQppu+wkE=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=qjtQu6P+aaEl9KttbH4+bhBs6ONNnjaqVAzVSDp/JjjME1MD2t1dL0nEiRYE9OjXb sRLh/1upAFV/lXrdapEbsNvbjOu0j7TztLDZBerQfIrT/wBT6sUpQpVxeorIBLhT7i HwFphB+M2PGCkue0vLx2PatBhxtQynf98oNdpMOXX8mcGVr+GApZCoKJz8Q92qijnJ qdrMySWxZsgf7nsM5yl7LxPxKEnyh1UeIrKN2wfILj8Sb9RYmzt8zlHtLtiI1gMcoU yb3GQx5Qa1WjRj63DH/zUw9uxcilCg30cJdVRRYoisdRvtweWlno9V56w3cfH9OEm3 xnjEwP/PwAcCg== From: Arnaldo Carvalho de Melo To: Tiezhu Yang Cc: Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org, Xuefeng Li Subject: Re: [PATCH v2] perf callchain: Return directly when use '--call-graph dwarf' under !HAVE_DWARF_SUPPORT Message-ID: <20201215133944.GC252952@kernel.org> References: <1607996131-9340-1-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1607996131-9340-1-git-send-email-yangtiezhu@loongson.cn> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Dec 15, 2020 at 09:35:31AM +0800, Tiezhu Yang escreveu: > DWARF register mappings have not been defined for some architectures, > at least for mips, so we can print an error message and then return > directly when use '--call-graph dwarf'. > > E.g. without this patch: Thanks, applied. - Arnaldo