Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp141579pxy; Tue, 20 Apr 2021 14:55:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFV5WosPAtnHguXMkwAerRPW6T16xB4xCnxx52C4ddBrGWwRSwU/Y3d8seresXNG+ku1Vn X-Received: by 2002:a50:fe0a:: with SMTP id f10mr33783010edt.1.1618955743607; Tue, 20 Apr 2021 14:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618955743; cv=none; d=google.com; s=arc-20160816; b=FS/i15tkln+2dOn1k0sJ5y48SKHINFh474Qoq+/KE3sc9jtIygcdn3e0piffAPC8gw +UNgRkJmSHeuNI32eLEpG+tqbvgywypTrujDOfFzl5quYSgRvr/GrMKXo6uW8zQ7ph2F lpviJ78h2BMKSSYWqVy514VvSLWGrXN4I86sM7g1g7XhjbvarlvlNtkQx3OlTsw+qUH1 jTOQSEmJ07hhn8TN0VGsODOI2RH2vppTu17tuneI4XUFobcw1LVrlm3EKWX667Ghmqnr x5iSye2NQESuitzWryedBLesSkY1Awyn8xWUHZj2NIFKafihJQqKJSPNyBFkTcWK69YE aVpw== 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=0zjCwu1qjfPFOWZCAPPr7F2o3QP85RWlviq2DXIoeMaKUsMZWIxQTMHedQSvheDtTh PLleNKo/D3Ohe+tT5j7VhEq/S5tA6ALgX/gQ8TGvOdMuzOSEyt0mvd/Ga/wtHmvEiMKy mKVtgZIbycQiSwmK5SsSJA82HstTU3OI3u4duxNosTbf1nOtkklyQFaX2wIATEetUSU5 wBNrLwRvwm7snE+Eg4D2XWp8g+p0WHk4qjLTjguU13sKamDB0T0dNqIL47TFll7T8LDs yv37nozIoK0p1XZVBVjzBNire0oH3GIzwtZFXlaMTN0FPnHhJR3Mss/FhcKCgwbbwEh5 pG3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=FhnZNw8N; 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 b1si53662ejh.35.2021.04.20.14.54.58; Tue, 20 Apr 2021 14:55:43 -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=FhnZNw8N; 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 S234223AbhDTVvM (ORCPT + 99 others); Tue, 20 Apr 2021 17:51:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234221AbhDTVup (ORCPT ); Tue, 20 Apr 2021 17:50:45 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D17CC06174A for ; Tue, 20 Apr 2021 14:50:13 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id y1so4780715plg.11 for ; Tue, 20 Apr 2021 14:50:13 -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=FhnZNw8N8fWqEYVZm/AVBrlcAGUTphgrm9PvL/4T5AFWSmmoOP41v373jHCB/eWjqn aEzf4iBeqfUac5cVngmWQ3fV48tqGViHIfy5Zf4T5AnkhKQm3wkixDcO4vjBnzk6ghNA twSVPoridN98UNPwWD51+NRnQD9mcj3ltbqVY= 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=UyhClu7jUhHcGW533MUF11vFl/wiG7D9BeXJy1EpJpv+Cia2WgjwnhPi2i7dPvhmy6 AIq5ehLeYzsjOkemSZN9yBZ8XhNTBnN4YRoUuZZHWITi2lZVco49eK83jqqD8rcimosq XDPo8sIFq2pl81PDSAnbT2dAYsoCsjfIHHxuy0wos4UVf2IHTSisjLAoyCrLtCzwnuwW +TyEqMbXB1ty0M/pQtYe5bxw1v4gA8TTxf+c5w2UEYDHj2ZPFdMNiNwwins8ULu1uVe2 L0q0mkoC8OygTCsnCWSRoipgZBNJJrTbsoAWgFvLDX5AZFoMXshbSK/D3Pep+ExAiX2S AODw== X-Gm-Message-State: AOAM533RgrPorPrRHffjUXPXc05+AFkIrgY0tQZwwXTeCgTmdoePYEOc nK6tRCYkP+9bi3GAQrMx2jSEGQ== X-Received: by 2002:a17:902:ee8a:b029:eb:6d3:1431 with SMTP id a10-20020a170902ee8ab02900eb06d31431mr30874940pld.60.1618955413056; Tue, 20 Apr 2021 14:50:13 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:201:bf8b:4b8b:2315:3719]) by smtp.gmail.com with ESMTPSA id c21sm31481pfo.91.2021.04.20.14.50.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Apr 2021 14:50:12 -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 v5 10/13] scripts/decode_stacktrace.sh: Indicate 'auto' can be used for base path Date: Tue, 20 Apr 2021 14:50:00 -0700 Message-Id: <20210420215003.3510247-11-swboyd@chromium.org> X-Mailer: git-send-email 2.31.1.368.gbe11c130af-goog In-Reply-To: <20210420215003.3510247-1-swboyd@chromium.org> References: <20210420215003.3510247-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