Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1565391ybm; Tue, 21 May 2019 16:43:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKixaswZhZMzE6hk3VjAdn3RUGMzHS19vhnIRiHe5zTn8C9oPo/PU1u0PhdmfzkW4577HT X-Received: by 2002:a63:c24c:: with SMTP id l12mr86923181pgg.173.1558482206520; Tue, 21 May 2019 16:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558482206; cv=none; d=google.com; s=arc-20160816; b=TawfNMSauIIrK+QjFMcRwbwfQK57JQPPjJKOypxIBDTUWutg0pd/XFwlRRJqGNqdMO bl4q/biNJydQ3j2V+7cxYtseoV6QMGjTpeNQeSfosRfpr/qkf5+PEW+j9sWkr+IPIfTf N24KpKup1NKc8UP2EByTxIxpNf3EmND//M0JzeYZsmf+IIVfHz5Hg2CBYVnba9bz4ZS8 NYS2QviyIN6L5ddf9IIl1P41QMEAcl+r7PxkgISyEESQ7Dknwxf5z6r78kofCoqNYdk2 qIHlmNwR69sq7KqMbZsufRV7mEh5dbTKcaCN8cy9cWTQM4CyShmOljDwazZoBWb1y6iy SpNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=UIVbNO6kM29eP8tdUg5nALQrURuRgSVSPOc4rYESuyA=; b=H8v0J4E7ujir68DbPQx1ig7XZVCM1p32DqHyRJ274CdEgIqncVRSCHR+aAquECGyZi shgzX4wa+Rj9uYgUOMDazHpJJ70uduU/Wu3tnMnug3J/faaPYCop7M5JFrkkuQVFJDGy RgLRMCd5ZGSWeuHTb28BiefIVap9hX+qj3+DFoXBEsUmZDtaEQ+1e2u0yKXL4MlHAy7L hggIwzbXalcemglzphPXQSM7VmrmQTz9yekkkVoAjMpYS6NdVveXhCmy3IaOZ++60uN+ +r0w5sNP5MiKKHRnGdlUYGKhx5Vw95bM7Re4sUdpgdbvu+kS1MIYzub4tR5UDvRfBZ56 w0+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=EwtB56xP; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7si22038127pls.286.2019.05.21.16.43.08; Tue, 21 May 2019 16:43:26 -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=@chromium.org header.s=google header.b=EwtB56xP; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727208AbfEUXl5 (ORCPT + 99 others); Tue, 21 May 2019 19:41:57 -0400 Received: from mail-pg1-f180.google.com ([209.85.215.180]:40267 "EHLO mail-pg1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725797AbfEUXl4 (ORCPT ); Tue, 21 May 2019 19:41:56 -0400 Received: by mail-pg1-f180.google.com with SMTP id d30so293730pgm.7 for ; Tue, 21 May 2019 16:41:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UIVbNO6kM29eP8tdUg5nALQrURuRgSVSPOc4rYESuyA=; b=EwtB56xPBXef1Scj4BOm6zW0gz/V1ykUnA5UYLd+ex1NQqm1IKwGZoRzXdw9BJrcm3 TwDmIy4RKrnpi03f+smdwJsf8FUQikr9sylnvl3MQv/mAGm7836ow4q0A8ZDpnKe9EYR ZX3mnzUT+ayn7G6uSqOJk+2WxVhcEY7qosLnI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UIVbNO6kM29eP8tdUg5nALQrURuRgSVSPOc4rYESuyA=; b=I+WqztsW35ukHEBpmsx3KjjPwd0ciY3nOtSPchx2EMR3n5oVE+a+pwcBjvpDccKfiV 2PFB/MkEOybnyCE/U8bYHp7vzJcBZ5GuiqrYppID18yX4nuf4mEj1qPwEDrD3FwWrudb a20t5TU4qRBMzXK7NZZzWoMGUL4wPYUhFQHIF4Q265wg6afUh0JWGLsJm+aidVkxuDjO hVzoBQRxPAWrGTx/iCb2Mj7wHtkBRitXsl6hO/6HefoPTjjdZ87AHLHS/KxAWyD2wpCN KRnZKrYFVkbI1oOm2pzRYHwHgUBWnl/K/gkqfhLZt/x7TkxGYMsdNxr+79lrgbLqYxkD HD0A== X-Gm-Message-State: APjAAAU9jV4arV/OuE0G/85pSRDT/o1K2AIYHhT69snyGq1ESGSWF/R/ 4E7bc9vMhLiNXcYuamyir4pAjQ== X-Received: by 2002:aa7:9e9a:: with SMTP id p26mr59469609pfq.176.1558482116033; Tue, 21 May 2019 16:41:56 -0700 (PDT) Received: from drinkcat2.tpe.corp.google.com ([2401:fa00:1:b:d8b7:33af:adcb:b648]) by smtp.gmail.com with ESMTPSA id s77sm44111026pfa.63.2019.05.21.16.41.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 May 2019 16:41:55 -0700 (PDT) From: Nicolas Boichat To: Andrew Morton Cc: Marc Zyngier , Konstantin Khlebnikov , Nicolas Boichat , linux-kernel@vger.kernel.org Subject: [PATCH] scripts/decode_stacktrace: Look for modules with .ko.debug extension Date: Wed, 22 May 2019 07:41:48 +0800 Message-Id: <20190521234148.64060-1-drinkcat@chromium.org> X-Mailer: git-send-email 2.21.0.1020.gf2820cf01a-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In Chromium OS kernel builds, we split the debug information as .ko.debug files, and that's what decode_stacktrace.sh needs to use. Relax objfile matching rule to allow any .ko* file to be matched. Signed-off-by: Nicolas Boichat --- scripts/decode_stacktrace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/decode_stacktrace.sh b/scripts/decode_stacktrace.sh index bcdd45df3f5127a..c851c1eb16f9cf7 100755 --- a/scripts/decode_stacktrace.sh +++ b/scripts/decode_stacktrace.sh @@ -28,7 +28,7 @@ parse_symbol() { local objfile=${modcache[$module]} else [[ $modpath == "" ]] && return - local objfile=$(find "$modpath" -name $module.ko -print -quit) + local objfile=$(find "$modpath" -name $module.ko* -print -quit) [[ $objfile == "" ]] && return modcache[$module]=$objfile fi -- 2.21.0.1020.gf2820cf01a-goog