Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2007618ybt; Mon, 15 Jun 2020 15:40:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiNm7qf1vYF4z/uKDDLs1Qz796w3yrcUp6rpEs84bWhos5XozneUtZVd3Gu5zf3JVCRnNc X-Received: by 2002:a17:906:7d91:: with SMTP id v17mr12783ejo.463.1592260822671; Mon, 15 Jun 2020 15:40:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592260822; cv=none; d=google.com; s=arc-20160816; b=ZjFxJ87HQa2qbz2W2KvhebGHGsNBei/KcfeX9R73VvyPbS9mXdgdM0wGZmMrrrtD0E mVh+9r/zwf49wxUPT52rsaV/e8nfcEnpVmVEtYXCJx6sJvAF491Z8y627vXqyVFppsCH cpRMbpSKqjZSnqJVfALpO7NAE/VHuW03PTd41qnDul6kd581rUcE9fdlJHpSpieLHi2t BcD5AjUBEPad0ORKzCh8ygJ2ngwHUaDNxUEO5+uAdb4Ey0ICO+zzkEUKhcMIqoUNStME nvgmLoo6yWJGwG5eMMtCjE3+BM7mfaIrL52bP4nkj+RZH+BiZgBCncnpPykprltzaQ98 2NsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=hDkCcz9pJTljCHKlO0VjvIrQ/0YyW9zXpKFl2PZzA9U=; b=xhvHPfiCsb3k8C7tp8yynbefwire9j3ZIO/kgxMsLs3EShhew8u5TDW/NTLY8MwjXI uARli7wMhy8qpUHfZCFERP0k+CVreKSm9/5OP29fKuhC8X7gjD5rVNu91nJjauJBCkoF vTq+mNM5HOk+cLbDY9cnebYqaAjGB10uday0g0qDan+f3+u4wNEKR4sKM8+o5hx26nEK Ii3FuXeU2Mhs0cdJR5V5UoWqWMQTi/34MEZhRPDFSPgGczL6h2t3OcmV8JsoJPcRTbo3 VuwNWrimjKQ/ILi0gAAsxpuDJzf07i7gMTNSPuiLupSA134JDjYmMAFZkhhEq7iUpHbU AjdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=WJKgNcDe; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n7si10036873ejk.154.2020.06.15.15.39.59; Mon, 15 Jun 2020 15:40:22 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=WJKgNcDe; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726414AbgFOWiO (ORCPT + 99 others); Mon, 15 Jun 2020 18:38:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725843AbgFOWiN (ORCPT ); Mon, 15 Jun 2020 18:38:13 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DCEFC061A0E for ; Mon, 15 Jun 2020 15:38:12 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id i27so21130752ljb.12 for ; Mon, 15 Jun 2020 15:38:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hDkCcz9pJTljCHKlO0VjvIrQ/0YyW9zXpKFl2PZzA9U=; b=WJKgNcDeluq3Js9hmc9GLKlZTmxtuneMSLtXZEDSyZObiMxXS09cxnh8mLcBHQIA/m mRMDkRHN7y8aDfxnO8mxEh58PAPuojiTplNIr4Yfzac55vzGpJfQ7xUxHmhDZdjqsFwL 1k+AJpguvcfOehk6AZXEWzgMGoD0mC/2oC8Ek= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hDkCcz9pJTljCHKlO0VjvIrQ/0YyW9zXpKFl2PZzA9U=; b=ifbcU4H9PzEJJ1mCUU0MHHfBI8B7swvbmrsw100hsssDwna9fPmyNG0YagxDi/Xkci secSBIm5gNntCGr/IrsErf1cITRjmk9bUUL7G9mi/M6H66na1p42TH/uf4HckrcNcWdC GmWf57KB/CCkwfAod5Y8q1Ja0CtCD6U5Z/lz90Aq+5SO9FS+od5ZQmuvj95Ti8Q8DKlW ugeu5Z9nnKth5SulB25HuxuysngyQRWEYo4gRvQvsPTS22nsQeBSBUIa1dA/ToWbn+gb H2wUqhG+nyqXOTXc2GLrwe5DE5CR0w6jQRKNEnExwi2qScXX0CUob6aa81RWltglpeuf 91Cw== X-Gm-Message-State: AOAM531zEHLmsZ+X9QplIwgvZJ381Fs3XEVvrcnOprIbsU/tiri0N5IU KvnYSygHk+a1WQT2v9QC6S7PZ0NYglQ= X-Received: by 2002:a2e:3808:: with SMTP id f8mr13687344lja.165.1592260690125; Mon, 15 Jun 2020 15:38:10 -0700 (PDT) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com. [209.85.167.52]) by smtp.gmail.com with ESMTPSA id a23sm1115491lfb.10.2020.06.15.15.38.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Jun 2020 15:38:09 -0700 (PDT) Received: by mail-lf1-f52.google.com with SMTP id a26so6090947lfj.13 for ; Mon, 15 Jun 2020 15:38:08 -0700 (PDT) X-Received: by 2002:ac2:521a:: with SMTP id a26mr95385lfl.192.1592260688575; Mon, 15 Jun 2020 15:38:08 -0700 (PDT) MIME-Version: 1.0 References: <20200615222427.60126-1-sashal@kernel.org> In-Reply-To: <20200615222427.60126-1-sashal@kernel.org> From: Linus Torvalds Date: Mon, 15 Jun 2020 15:37:52 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] scripts/decode_stacktrace: warn when modpath is needed but is unset To: Sasha Levin Cc: Shuah Khan , Konstantin Khlebnikov , Joerg Roedel , Andrew Lutomirski , Peter Zijlstra , Takashi Iwai , Linux Kernel Mailing List , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 15, 2020 at 3:24 PM Sasha Levin wrote: > > When a user tries to parse a symbol located inside a module he must have > modpath set. Otherwise, decode_stacktrace won't be able to parse the > symbol correctly. > > Right now the failure is silent and easily missed by the user. What's > worse is that by the time the user realizes what happened (or someone on > LKML asks him to add the modpath and re-run), he might have already got > rid of the vmlinux/modules. Well, that looks straightforward. Applied, Linus