Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3280805ybb; Mon, 6 Apr 2020 05:59:56 -0700 (PDT) X-Google-Smtp-Source: APiQypJqK5VIWeWFQhF35DH1tmzKV/JDJDrPzvz2hZzF+j7kSq0l6PpysqrGjIwBbpjPyggKcyBI X-Received: by 2002:a4a:a126:: with SMTP id i38mr17449308ool.11.1586177996050; Mon, 06 Apr 2020 05:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586177996; cv=none; d=google.com; s=arc-20160816; b=FA/Wg/srG4/wbHHaoZ0v67hmiaoyt6PL/YoBpAGUl40bIHZyD45kSIWjma/Fskm1Xl lpQrhc3VpCkdjcg4juGkDMdS1jRAmdsB3z0ik0BSdEdb7vjX/ZPvWy9jC0pUYkQFQi4/ ahpNvX3RY0bg7GCeJ3p20yazK+jxVgT7O/V0SrVQim8wbpaxvGgkhakgyB7dJhUCye77 +hK4YA6d1GI0fKZFnxBleFbPjtzc7o04ONOESB1DNjKRu8//XFGOjCgkvTOAqBKsk+XE MH+DbwgzToPWsXIVoQUxeFcz0hDBovQdJ0wWv4r/fzZ4sRJxPTDEBIG0AU012yfyfXGr dklQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date:from :dkim-signature; bh=GxGwinml6L63Dd0SxlcAA+Fpb67gjBgQcqRZqE51pfI=; b=fw0zA1kiOejqVYusxbBywi1jHDhqb0mjpESP7+ofPQs1h4V18krcwlpTn8tfhNoiQD W+OeBoK5VN6/QfebD7SSiSDs5WjNsPMSeNIpY9JcgcngtzREwFmlOXw70y8aX8qN9qtp 0623pBDsi8Fv/sIGENjsZNiJbtlGrDxVhFLjD+gmHalp+g54J/4zK/nce0s1V9q6kARE tzM0/bHSpUDWeMzKLc4AlmfAwTh80qPpAuAnMo16JTAKwUxxyP8zEeU5G6awbvGZBFAc 4KD12KqyYsI9eTZewcZN3JLl2m7ZEth9Km1Gpltefa+SleE+D8JFt8ap3Ug4gzQuH+tf pdDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vWVreJ6x; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 38si7783041otm.189.2020.04.06.05.59.43; Mon, 06 Apr 2020 05:59:56 -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=@gmail.com header.s=20161025 header.b=vWVreJ6x; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728144AbgDFM7U (ORCPT + 99 others); Mon, 6 Apr 2020 08:59:20 -0400 Received: from mail-qv1-f65.google.com ([209.85.219.65]:34236 "EHLO mail-qv1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728077AbgDFM7U (ORCPT ); Mon, 6 Apr 2020 08:59:20 -0400 Received: by mail-qv1-f65.google.com with SMTP id s18so7426577qvn.1; Mon, 06 Apr 2020 05:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=GxGwinml6L63Dd0SxlcAA+Fpb67gjBgQcqRZqE51pfI=; b=vWVreJ6xUG3g48AYI+1xkZhxI/cr4OThryjnox6hAOz0Gwa7e5OeSnPjEk2zPY1xta ClGQtU8mVpnp3VMZixHhB3aCVavqUQDSXuCsK6f7ieziSrMqOrZ36Hw0pxlN1TLZ19Cc porg0WqRFoBoYLSLqzuYfrxBInc4l9oyDX75VotUP28H0b1SdTRU2jSr3fIAAh3QDVL3 IkGNhFrWdjheWt4YGyEvzefnfj7i87jQ/4YZOcq+fHK4WpzjCMHUDzt4bWjXF0ClOo+M l8qsiG70B+xhjWYSXhAv8efk8kYtO9nGkb0nvYF8mNW5u98/yuCEhOEuFV1jadSkCv4A aiQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=GxGwinml6L63Dd0SxlcAA+Fpb67gjBgQcqRZqE51pfI=; b=sQBwaf1rKSPboV+QH2pjVQnX41jRjRKUhunYk5QC2v/GJ+ysW/xL0giy55xbqVi/x6 iPOHEekxiWx0gmMBfX1zZ8+zfY2sas6CPUXt7CObt4LFYmpDSAHqNOVrng2fqJzt8m6Q EUFvyPNFdC3Q07td6K8Ti6JWXktUY5bNeQONvoSZrTYW1tYu10jzYcOOI/tXEsiDPM7/ l+sOgpIQQ+xZoSfGwcRFumijJhbxNTTdxYwWgdzQeF+PYt7OsE7Nlb2jX+rV+BXPKD/m U8fpst3oXXHUuUbDwUks4hnO6hXsSKnk1RFjGjrZe9OMxcESg7bSDToxYZkkm0BwlxZQ h0HA== X-Gm-Message-State: AGi0Pua4w3ikm93kVRn78rYk4JHRG4JQhe6f1SaFe2Ru+/Voc/Y72w4r 51n/Fg/zQ1QSZSkBF8xnpD4= X-Received: by 2002:a0c:e902:: with SMTP id a2mr20982750qvo.103.1586177959061; Mon, 06 Apr 2020 05:59:19 -0700 (PDT) Received: from quaco.ghostprotocols.net ([179.97.37.151]) by smtp.gmail.com with ESMTPSA id c40sm15506777qtk.18.2020.04.06.05.59.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Apr 2020 05:59:18 -0700 (PDT) From: Arnaldo Carvalho de Melo X-Google-Original-From: Arnaldo Carvalho de Melo Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 1B304409A3; Mon, 6 Apr 2020 09:59:16 -0300 (-03) Date: Mon, 6 Apr 2020 09:59:15 -0300 To: Andreas Gerstmayr Cc: Arnaldo Carvalho de Melo , Kim Phillips , linux-perf-users@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , "Steven Rostedt (VMware)" , Kan Liang , linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf script report: fix segfault when using DWARF mode Message-ID: <20200406125915.GQ9917@kernel.org> References: <05e0d633-54b4-fb3b-3d08-8963271017ea@amd.com> <20200402125417.422232-1-agerstmayr@redhat.com> <6a098ce1-1981-dcff-ea62-af5fc07ec7fb@amd.com> <20200403124028.GA18559@kernel.org> <0a942366-c8dd-4767-ee84-fdc0024b035f@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0a942366-c8dd-4767-ee84-fdc0024b035f@redhat.com> X-Url: http://acmel.wordpress.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Apr 06, 2020 at 11:30:23AM +0200, Andreas Gerstmayr escreveu: > On 03.04.20 15:16, Andreas Gerstmayr wrote: > > On 03.04.20 14:40, Arnaldo Carvalho de Melo wrote: > > > Em Thu, Apr 02, 2020 at 02:07:51PM -0500, Kim Phillips escreveu: > > > > On 4/2/20 7:54 AM, Andreas Gerstmayr wrote: > > > > > When running perf script report with a Python script and a callgraph in > > > > > DWARF mode, intr_regs->regs can be 0 and therefore crashing > > > > > the regs_map > > > > > function. > > > > > Added a check for this condition (same check as in > > > > > builtin-script.c:595). > > > > > Signed-off-by: Andreas Gerstmayr > > > > Tested-by: Kim Phillips > > > Thanks, added this to that patch. > > Great, thanks! > Ah, I thought you were referring to my initial flamegraph.py perf script. > Is there anything I can do to get it merged? I'll test it today, were there any Tested-by: or Reviewed-by: to that flamegraph.py? That is not yet a strict requirement for having patches accepted, but help me a lot in dedicating time to test things that passed thru some testing by other people, Thanks, - Arnaldo