Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2032625ybt; Mon, 15 Jun 2020 16:28:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpt4RDEc4poQ45hvXOzoTFrhTHN9/4nsx1HA3SKRzg+0HN9o9sCKBMkJweHhmGkb2jWA38 X-Received: by 2002:a17:907:270d:: with SMTP id w13mr146984ejk.545.1592263682116; Mon, 15 Jun 2020 16:28:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592263682; cv=none; d=google.com; s=arc-20160816; b=XOjoLGiGCneYyFkuZQ+RAbc4yBxpRkCgFarq9PtRBT/bak1QsEGACmcJMz+oEsQEFQ N3V/NN7Sw8sPqmKhNXzbjPqZFWVRZxjemU9LCYIXlTUsdHKRSVqsATNK9mZ9NbLjl4CA cfyPM/ZgHGtj2jG96JXd6+0QthW9yQ23uQ6vsYwZAypYq0KqabFTGbYgSkPL38q8fzNR 2PaOZ/a+b4FGxTYPNzg3sSFz977tnVzNHhsOJO3wR3oTjyGZQGEhHr+lj5reOi6pObqv +Dw1ZcI7dLQpyRkJRwtFI5k7bWJXibXOsdZ5N+rOeYxnAMXm76RaySPapWIVaGwWWPQe Weuw== 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:from:date :dkim-signature; bh=QXMD/LDw5XDdlGcX58AlzWAJCoZrcOlKdcTxaqv+FU4=; b=EjuysyXuNyS2fg09pi3uiVQJY4FjpIoOKqTlJkyhhuqFAXw6YYTVebEfuIO38sEMD9 5O1SvbOfjevduD9Cs2CPOX20cffkbeTTZoV88RFft/m0SfCcVLVLUVba7Xe4KYShiPXg rnmUTgSfE6gE/pVX4BsNa3aOJ1nbETCmhs/ddWPQDyXILptogXTZV7Hh05zxj5BszGVM HB9doX3nvTk263/BaOZ8Hm1Sp14SD0KiRUOXmWg+aZgpIUNE7E4n4s1iRB92l/nCbSfr k435s4jAB9slS1MIRpGZUbwzj9NXouA9slB/iaP5KOyMr3Tqa58Xoo1GWIxfZVoqyxEh ESNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=c7R4ygtC; 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 d23si9753357ejt.618.2020.06.15.16.27.39; Mon, 15 Jun 2020 16:28:02 -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=@kernel.org header.s=default header.b=c7R4ygtC; 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 S1726727AbgFOXYz (ORCPT + 99 others); Mon, 15 Jun 2020 19:24:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:41270 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726313AbgFOXYz (ORCPT ); Mon, 15 Jun 2020 19:24:55 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (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 5837520739; Mon, 15 Jun 2020 23:24:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592263494; bh=A1WtQ1g1KpuIoeDmUFz8cD7kNho/1KEAJNFhI19+fW0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c7R4ygtCRRIUtvMslXYWBKsSZ9NSbN1miUpQPSMxM0M3wcuQp1bO9uoUTK27hIWdo Qe8XSY9e0va7dv61OjfOgMr6kwxf9AbQl+fkrq1wQkSEbpULQFSjiceEN0mAwY0b3G ZYTeVmRNhfHvixz5I3h5bqzE245TYxm1y8QZRq8A= Date: Mon, 15 Jun 2020 19:24:53 -0400 From: Sasha Levin To: Linus Torvalds Cc: Shuah Khan , Konstantin Khlebnikov , Joerg Roedel , Andrew Lutomirski , Peter Zijlstra , Takashi Iwai , Linux Kernel Mailing List , the arch/x86 maintainers Subject: Re: [PATCH] scripts/decode_stacktrace: warn when modpath is needed but is unset Message-ID: <20200615232453.GF1931@sasha-vm> References: <20200615222427.60126-1-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: 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 03:43:31PM -0700, Linus Torvalds wrote: >On Mon, Jun 15, 2020 at 3:37 PM Linus Torvalds > wrote: >> >> Well, that looks straightforward. > >Hmm. Decided to test it. It warns for every case: a bit excessive, >perhaps, but I guess it won't hurt. > >So Shuah's thing results in > >[ 9.791367] Call Trace: >WARNING! Modules path isn't set, but is needed to parse this symbol >[ 9.791377] ? snd_pcm_hw_params+0x3ca/0x440 snd_pcm >WARNING! Modules path isn't set, but is needed to parse this symbol >[ 9.791383] snd_pcm_common_ioctl+0x173/0xf20 snd_pcm >WARNING! Modules path isn't set, but is needed to parse this symbol >[ 9.791389] ? snd_ctl_ioctl+0x1c5/0x710 snd >WARNING! Modules path isn't set, but is needed to parse this symbol >[ 9.791394] snd_pcm_ioctl+0x27/0x40 snd_pcm > >which looks a bit redundant, but maybe that just means people _really_ notice. I figured it's a good balance between warning only once (which can get lost in a longer trace) vs just exiting on error (as it prevents the user from ignoring this issue if he doesn't care or just doesn't have the modules). -- Thanks, Sasha