Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp491365lql; Mon, 11 Mar 2024 08:33:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4rwVxnpDWyFNwZHhUunHJLUAShsZG+9oiwYLqb1JYLmWtPotKEf1GLkgQuv8s67rHD66TngAPel17dmRtQLH1nuz/fXlrWLnGMrlTDQ== X-Google-Smtp-Source: AGHT+IG/l7Q8T4GSzV6CUNRCEXmZWJx3M62yYx1OrHanANWsuPPECtio5nva8AjWhcvI5k/ZDoHw X-Received: by 2002:a2e:b8ce:0:b0:2d4:47a2:84c8 with SMTP id s14-20020a2eb8ce000000b002d447a284c8mr1396092ljp.2.1710171184880; Mon, 11 Mar 2024 08:33:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710171184; cv=pass; d=google.com; s=arc-20160816; b=g3my9asvqhjbyBvXa3WSMZ6U/I5Dz/U4Sj33xgXxixUElW+mSWUN2vg0kdB4d5XNbF 3DVIklrrekuiCnbhWzHH/e2npz0a4H6Cp3mRLn3v35TMnHwOpnVOpsnFyCMl6Xbk0Wfi UFE7ZSAJ+H+0ksH+h7YI24ctfwWnFaLd1XH0GJL4QoxJz28Zwq3OOU1PKCBzQTFcBvCd JB1MjM1bbVVhCLht2gcb8jRJC4apdu6Yn5nydq51YCylxcnv6l1635aGUwd1CiS8ivnf sLzhASyCv2gBqfatxvR0knVMPMOUXf9vYBGHvPJ0XTtV5mvFk67tFXl2YbYY28sjv+f+ yHvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=zpuJBvyBodbNFlOONGuik3kvuhMsN2cNPJ4hQPAYmXA=; fh=jDum8ZwHU+yAQ4h3ArT2RpVKeuYcgphvmwl2A+O0iGI=; b=EX2RSmuEnVHDqHQWD9uf6BthEIrkl+3fMmCO+qjB61RXtedSVgxyiYqDoCBzSegeGn ymuHS9uUbB4/8G/Un5jzlqPSXz2rWZioFPsehkFWsNRIUDOe9/91FwR1nskuD1U/d/rW WJH9XOKuDbxWtuTYbc8dweU6xyMwUBnytz2AVk57yu5UD3ecQUoydoERVD2wtT8vC/DG 3bVfVCNoQYm9xI8UxZI0nkmFyC35GvUmPanjJhiVD/hxa+LisPYutfKQnrwSFUmNUac5 6f4MlvuTcOSxvvS3vP6f4PNtfZDWv89rcxQB6f2pmIy6zbkQIDM9BZ8RtMI/NDA+l/kM NkiA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=XMRHjkKD; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-99126-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99126-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u20-20020a056402065400b005664dc1157esi2558970edx.143.2024.03.11.08.33.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 08:33:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99126-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=XMRHjkKD; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-99126-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99126-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 32DDF1F221F9 for ; Mon, 11 Mar 2024 15:32:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF8A147F4A; Mon, 11 Mar 2024 15:25:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="XMRHjkKD" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5119646425 for ; Mon, 11 Mar 2024 15:25:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710170704; cv=none; b=QCBhpAd9V5+mLZ3LWCohDlS99ftH8n3WljjQFMfgfSiR2oPyem2vRya/42uRCgp1nWdTKK2uUa3sF/h5TUJ1nq+WwtHIddO+ynwRSgsEiBFHVep5WunvK35OBPLL/ATT+kltIc6RyRWLHQt7YxbaaRhYwkcQuC8eAql+yERgoyM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710170704; c=relaxed/simple; bh=ov9FoPuE92p/IJ9p6mBetZFJarkOBkrT0lUf5tjuOKU=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To; b=PBlFTK0ic94/RiBVDjJ+rOnWuHz18cjhuhzaUh/n47n+dsDKBJAAbQRwCBBdELPLY8d5k1+89DfeE6ypUePltSBi2By/N0+wEt5Nq6jyAaqRj39MDMqX0H5e75w5vdHgbsER8kGnQj56QYJJmBLr8Hh15i/qLlwmHap6DuQG9cs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=XMRHjkKD; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 155D820009; Mon, 11 Mar 2024 15:24:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1710170699; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zpuJBvyBodbNFlOONGuik3kvuhMsN2cNPJ4hQPAYmXA=; b=XMRHjkKDyGW4z+k/XugToqCSkq0EIszgTqN0KQrbYtXX8UL4UZtlHfiXyQ/SKXi3hVcMx7 LnMUfDSjQzxhZIVdsYmTu1xO23/SUxGJPJfm48G1nd9gM2H4kl0jZo+8V3k8fSGDPr+eeK MTCQjr5+VfPSV0ouXNDuTtBHgdnpQJ3Gap2IoTYeGePv448bizOSlhryxryV5n/hFm/G3n 2zm7g8MJ4jKQqWtt8wme+pkhpGnaVU8HmeaQ5bno7hcjzKuMKa29fXDg7XqRJdvxVFA8lJ 3TET2+vLZ5rx0bjutLbD1sjObBpYW3eiMXbOQKbcfQbArlCS2Ap9po4Ljo3wlg== From: Luca Ceresoli Subject: [PATCH 0/3] scripts/decode_stacktrace.sh: improve error reporting and usability Date: Mon, 11 Mar 2024 16:24:53 +0100 Message-Id: <20240311-decode_stacktrace-find_module-improvements-v1-0-8bea42b421aa@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAEUi72UC/x2NwQrCMBAFf6Xs2UASPYi/IlLW5EUXTVI2sQil/ 27wODDMbNSggkaXaSPFKk1qGeAOE4UnlweMxMHkrT/Zo3MmItSIuXUOr64cYJKUOOcaP+8h50X riozSm2HrGfDndOdEI7goknz/s+tt33/XFMZffAAAAA== To: Konstantin Khlebnikov , Stephen Boyd , Sasha Levin , =?utf-8?q?Alexis_Lothor=C3=A9?= , Thomas Petazzoni , linux-kernel@vger.kernel.org, Luca Ceresoli X-Mailer: b4 0.13.0 X-GND-Sasl: luca.ceresoli@bootlin.com This small series improves usability of scripts/decode_stacktrace.sh by improving the usage text and correctly reporting when modules are built without debugging symbols. Signed-off-by: Luca Ceresoli --- Luca Ceresoli (3): scripts/decode_stacktrace.sh: remove find_module recursion and improve error reporting scripts/decode_stacktrace.sh: clarify command line scripts/decode_stacktrace.sh: add '-h' flag scripts/decode_stacktrace.sh | 49 ++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 22 deletions(-) --- base-commit: e8f897f4afef0031fe618a8e94127a0934896aba change-id: 20240311-decode_stacktrace-find_module-improvements-a02aee28fbaf Best regards, -- Luca Ceresoli