Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp79710pxb; Fri, 9 Apr 2021 18:57:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnmY+uOnCmhEqIj2ax91n7AE8YS9pAvWSK8Waz5wQBXoFd8fDyVh7d16j0qCh8oRUG/oiB X-Received: by 2002:a17:906:9882:: with SMTP id zc2mr18327699ejb.441.1618019851894; Fri, 09 Apr 2021 18:57:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618019851; cv=none; d=google.com; s=arc-20160816; b=Ta7aFDiX/CC8CUhoRPWcqVN/JYZedWXYsXh0pn6bBSy2VM+rvM5Ins52rCZSoohhGm uZFy8/449JrIPSCN5FSTw7ZS8lCw46C/7dFbu74ZCMrsGqEhxs9FoNWHfaCQ1uOhGLeQ nWsbTHZHj3SKCz0i7vtqZ7SWb5M+ZM9r6d0IN7U/ITufMnUf03sc9++9pMI6xIOfa5Rv yQSGrM+KFHX6Vzs88VgpfSXPOTZj8yWbjsyLuKqGH+KOSm0Z5t+HB1ZMod1QOR53UTEA 8AK8BjhBZr9BEqOSEVemIrwE6M41NXINONLOE3apbaP3pHHGqRoZSoOuUVPrPZLd2omB gNKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ThM+lz6jsS3ZEXtls72L3mRvVuWcXx5lk52kSqNPD+U=; b=jW3lvn6ye2g+ClwKNgOVQ/EF9X3Gx60XnqQusIn/qmCdYEOVnC1rGStwNkJ+wT4ZUx xDFxTxvQA0NPXVhkal++9349F+otiXUERw+etY6LRc4YRMiZWzSdsH3ufrhvnh2v87yZ FQTtIcGJseF1z8w7T9n5O83BN+wjR1+nLdyqMGoDnMycvIL/HnhJjr+bnv366GC2OCNo 9DnqaRuqKhwjeSdv7/0SD6DVj10DL5sQ8OaB56dZG2cFSNf9/kXLD96pgf4dOFZscDGl MUSGO6P1Y7zGGXZ4t7c0mT2yBAxdt7fOa60xZEZz0wcgRUb17sAXkLQgLTFTTWoHSDJT 37qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eUl7MAav; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e18si3271141ejs.95.2021.04.09.18.57.09; Fri, 09 Apr 2021 18:57:31 -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=@chromium.org header.s=google header.b=eUl7MAav; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234142AbhDJBxl (ORCPT + 99 others); Fri, 9 Apr 2021 21:53:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234000AbhDJBxY (ORCPT ); Fri, 9 Apr 2021 21:53:24 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B110DC061762 for ; Fri, 9 Apr 2021 18:53:10 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id f29so5191398pgm.8 for ; Fri, 09 Apr 2021 18:53:10 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=ThM+lz6jsS3ZEXtls72L3mRvVuWcXx5lk52kSqNPD+U=; b=eUl7MAav3tveZ/WsrNPPX7gnGLC99c+L7rKGIKbuaTyidhXVBsM/r3lgnj65b2Sg5+ aqvQ4yt7//JERwwglhhjHR5JEO7/gojK4bXcefKZmq3F4Hhma7eXgLxSA/4wECSYEBIt 7iYZKKGsYB+lvpaDDWtc8bk6sGVeu/3naSpyw= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=ThM+lz6jsS3ZEXtls72L3mRvVuWcXx5lk52kSqNPD+U=; b=g77+2HsZdxLQHJQGNEekIWIfK+dlgjvn898pepf/HjgY6gMBCWOlaL/WzzbYm9Oud7 ALJyeST5QGgsQFdOqufiV6nKouKFTHIck0SvP32isLw6uhuwSVBjxAhuSrcoerv46Kjr 2b5/DUL9TOlNVhACXRprYGVL4jSqtWSDZTS6hhyYvbh/nfDqBXFvZibpeaPpOcDOjrRF 94VMN8FLEoVuBRuzz3XerV2gHFlGFmNP9MYRj7x5HR2+WHcmtVamXF/H65BsSTMUZ/OS u6WTPef77JdMINlw/FPiRUCchPJwhwu37IfIsXsLSrcH6yCGzebqjN5CS/d2jHRmKwsz 0+5A== X-Gm-Message-State: AOAM533iINiLbiT4J02piPIJe3FysKVIkWJOx+OctrHk9x6k38walczt +bnpdeIXN8+Vtv7JNVs6ac9k5g== X-Received: by 2002:a63:da04:: with SMTP id c4mr15751589pgh.144.1618019590356; Fri, 09 Apr 2021 18:53:10 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:201:5141:7881:7013:743b]) by smtp.gmail.com with ESMTPSA id n23sm3837962pgl.49.2021.04.09.18.53.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Apr 2021 18:53:10 -0700 (PDT) From: Stephen Boyd To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Jiri Olsa , Alexei Starovoitov , Jessica Yu , Evan Green , Hsin-Yi Wang , Konstantin Khlebnikov , Sasha Levin Subject: [PATCH v4 10/13] scripts/decode_stacktrace.sh: Indicate 'auto' can be used for base path Date: Fri, 9 Apr 2021 18:52:57 -0700 Message-Id: <20210410015300.3764485-11-swboyd@chromium.org> X-Mailer: git-send-email 2.31.1.295.g9ea45b61b8-goog In-Reply-To: <20210410015300.3764485-1-swboyd@chromium.org> References: <20210410015300.3764485-1-swboyd@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add "auto" to the usage message so that it's a little clearer that you can pass "auto" as the second argument. When passing "auto" the script tries to find the base path automatically instead of requiring it be passed on the commandline. Also use [] to indicate the variable argument and that it is optional so that we can differentiate from the literal "auto" that should be passed. Cc: Jiri Olsa Cc: Alexei Starovoitov Cc: Jessica Yu Cc: Evan Green Cc: Hsin-Yi Wang Cc: Konstantin Khlebnikov Cc: Sasha Levin Signed-off-by: Stephen Boyd --- 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 20b5af1ebe5e..5fbad61fe490 100755 --- a/scripts/decode_stacktrace.sh +++ b/scripts/decode_stacktrace.sh @@ -5,7 +5,7 @@ usage() { echo "Usage:" - echo " $0 -r | [base path] [modules path]" + echo " $0 -r | [|auto] []" } if [[ $1 == "-r" ]] ; then -- https://chromeos.dev