Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp772546lqo; Wed, 8 May 2024 14:38:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdRP86xrDDtEfTXQ7xTLdkkg8vLyrF7s0vE/jKHDqr+OIHNeHojluIXsTR8MaPMUZxeXeYFG2gh9W0Hx7NBQ8KLJIzz1korf3SJ3XaPw== X-Google-Smtp-Source: AGHT+IEmSTCyq2M2kHt2/i66+ybOLoQCOCOJce5q+nrYMd3qeaKHIF7db3pXWtbaXfQIWAbU+8Tf X-Received: by 2002:a05:6808:3092:b0:3c9:6bb8:8fec with SMTP id 5614622812f47-3c9852fb1f4mr4651447b6e.41.1715204323769; Wed, 08 May 2024 14:38:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715204323; cv=pass; d=google.com; s=arc-20160816; b=oUupB8jqqZ16t0MXoeAFf1ijE1IT/sRH+aArr/5aHXUqKKuqpnnkLVx1OV4sRmV827 tZAgqotZFVRuQdR//s0p9rg/Vux3rml1AHOX9Vi8N58G03jYzJSwW51V1VNd3d8TunIq z1wyjI6IQMUrZeK4WBWIbrmo5Eqymj9LDpSdRyIOQgAhHL50qDo0S/1GhsbzfgqxZZWm ADl/hTtcc4ZMU/+bLHgZNZPCFMGAVo+iOhF7OHFEa25FE322LKN/m6YcqBZB6N9kFk4c c2yJmf7rlP5+jM0M17KtYny0NkSc+sUxMtCR88KdJrllNk3tBd63lZmwA1MdMPHP1qt5 NAwA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:user-agent:from:references:in-reply-to :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=KBXUYtxwvYRy8f6xUfurfkL3UHcikX6QmUad01Q09QQ=; fh=0anYEFggCztQWTBNVdUFN7pliHfh3zOCGLCZJh9yQ28=; b=R+f2YYPvHql39oFEVy97q82IyVUnGPvIsV44sZBzJ9//BiRapYB9/HVeUmLZfrYPyK cLdJh4DfZjsBd7PBbyOMHmF5iWZ/+vzx+5B2DZi1Zb975iv12vP2TrSbdk3IQpmCsiti YiQtDpPubaasUpfDcqpOBIIOkrPxC9mWBhpUh5XtiE6NYGAVH7vmDOLCO404bmAc4dzk HxTDRVB/le+goRlUYMjVObGOeVwsL1EUuYmbM8PPah9ufmip1dkH7m1izjhKTUmLqiPD clhZdA2p0zic27I/WI5dB1wIxLTalNWN3MbgHJZVPTt9t9MfpnDuetRAiG9hMs58A80A SqaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mjPXoQ0Q; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-173848-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173848-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f2eea4csi82086d6.485.2024.05.08.14.38.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 14:38:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173848-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mjPXoQ0Q; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-173848-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173848-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 780441C21457 for ; Wed, 8 May 2024 21:38:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3B5613175A; Wed, 8 May 2024 21:38:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="mjPXoQ0Q" Received: from mail-qv1-f47.google.com (mail-qv1-f47.google.com [209.85.219.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 820651E507 for ; Wed, 8 May 2024 21:38:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715204317; cv=none; b=kp5TDSUptu5p5vQj2nC6D0nUWAMpAHBGZApQRSqXurN3jjuJ44MF05JCMpQncg4BCMxtA5f1QE0Sga+HiYidcTtbGOI+e4BppoC9OP+ysaoxbrH6P2BDr7cPBkaFxvaGCYv+NT8Q1vm2dLGtsyWeaG6JYdIUXSMfGrbUFAYmp4w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715204317; c=relaxed/simple; bh=KBXUYtxwvYRy8f6xUfurfkL3UHcikX6QmUad01Q09QQ=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Content-Type; b=gbFWyxlPVrQohoh21o9UdDbANugsB8AojA4XcEpVV/gLA5k4zb+VgfrU3M6MNg3ZoZAfEsXC0H/yKc/enysMJm28aglKBFLAAsSxNb4tfYdq8n5YRPf/Ye44Ors2I76UX85A1Ymie1RMwHQT3ceex6tztaBOMA40/p0+qAYUUYE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=mjPXoQ0Q; arc=none smtp.client-ip=209.85.219.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-qv1-f47.google.com with SMTP id 6a1803df08f44-6a073f10e25so926056d6.3 for ; Wed, 08 May 2024 14:38:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1715204314; x=1715809114; darn=vger.kernel.org; h=to:subject:message-id:date:user-agent:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KBXUYtxwvYRy8f6xUfurfkL3UHcikX6QmUad01Q09QQ=; b=mjPXoQ0Q0MrmqSIproS8vap9OnKXXqGiLjpvYSw4RMDSe3xystOLhKb9M/PiIzzxiB og0exjRyg1KH0qhT0a7KD70vNMRRhuBQa4n/9uZ9W0D+IIdl3zQ8wuoqmqAdZWSWCmHY sI5qBnkiM2wr3+SfzqLXjfrfcFEYFObR7y+5Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715204314; x=1715809114; h=to:subject:message-id:date:user-agent:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KBXUYtxwvYRy8f6xUfurfkL3UHcikX6QmUad01Q09QQ=; b=L8Z/w1VyBLcBy4si5zI/MfruwZOhGq3jrIQb79cRJCwc0fYojtm9stRQ9j03xqHDMH VD/Tb3deFcFrj645nNHMQge1rIotIdFR1ZV3880xImOnEGNVgChjuo1kKhGF1Om9E5pC wKLi6Y9IXBFZ5ga0AYxXsstqfOc5KpoZYGhIS3iVE39Slsgc5lfG99L5MCnwR/3jh90s TEihstZ8XCHezAVt0Dzq9RRJxR99Vy4SHiIzjY/FqN9XOkKptLXBP/3ywfKn468Ps3F8 XDoza9R2fpvdeDnEkGYmQRsgaZ/WSF3gUWo3vjqZMYNNd73iY1ruaOzJLIuVaU7cxVpQ t4OA== X-Forwarded-Encrypted: i=1; AJvYcCWwe7sANeQnTQrdom0NRT0t0+A0iTVGug5w/7Kl4CYPVmWr42kkV63ROzrq/WtHM8AMyEeBFlfexVmyVGft5bfElSPplwm4VZXffgKW X-Gm-Message-State: AOJu0YyiEKYqcr/oBZfNM1lyOBXN1q9CyF+pL2cKj9ac/GarzrB7q6Rs E+ZBZ9K3R4arfPhKnPzxGjcN1Q254tT9WoaiPcRnaQEDXfa3mD7Vg/Fz3clmyrY0sGUSlSRg+qK E4uGUZxDqFXk4MrT2GrxJYWwT3ixNUVTvzYqGeQCaG2M1Ktk= X-Received: by 2002:a05:6214:a4f:b0:6a1:1f45:84b3 with SMTP id 6a1803df08f44-6a1514bc58fmr37457026d6.5.1715204314566; Wed, 08 May 2024 14:38:34 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 8 May 2024 17:38:34 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20240311-decode_stacktrace-find_module-improvements-v1-3-8bea42b421aa@bootlin.com> References: <20240311-decode_stacktrace-find_module-improvements-v1-0-8bea42b421aa@bootlin.com> <20240311-decode_stacktrace-find_module-improvements-v1-3-8bea42b421aa@bootlin.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Wed, 8 May 2024 17:38:34 -0400 Message-ID: Subject: Re: [PATCH 3/3] scripts/decode_stacktrace.sh: add '-h' flag To: =?UTF-8?Q?Alexis_Lothor=C3=A9?= , Konstantin Khlebnikov , Luca Ceresoli , Sasha Levin , Thomas Petazzoni , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Quoting Luca Ceresoli (2024-03-11 08:24:56) > When no parameters are passed, the usage instructions are presented only > when debuginfod-find is not found. This makes sense because with debuginfod > none of the positional parameters are needed. However it means that users > having debuginfod-find installed will have no chance of reading the usage > text without opening the file. > > Many programs have a '-h' flag to get the usage, so add such a flag. > Invoking 'scripts/decode_stacktrace.sh -h' will now show the usage text and > exit. > > Signed-off-by: Luca Ceresoli > --- Reviewed-by: Stephen Boyd