From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 167653321DC for ; Wed, 24 Jun 2026 18:58:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782327486; cv=none; b=BoNPfz8MZNRT2by38+yWztEEVnxcJykwgQu1XOHzL+4pze/AyilkRweUgc5QEI1plr0J7cfQ1V45YnEsvE4wa6zaWatOQkTTZZ9oqXTCq2e9DdrhEqlaXlqZ+Dj/tdUj+Xna/BvVOn/M1RSvthxswblW0qkpKyMX4lNgIu4opz0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782327486; c=relaxed/simple; bh=90kw0zK7Z9CTI4OiZq+TyyefnEsnWWbjVBiP9hxzT0M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Fgzdo4tHKt4gKnealNWj0AcOjfSew0U7KQ0Hl9cVlGFHcV6Pm/JHKowOX0HgHg6liiQEVcfc+GKjEfNQmrag/weiiMqZfyDDubcnNKtlcpdfLBKtNc5exDJc844GHscTlgWsiQkOP2WOf5EbD6o2FQ1drDfTQ1Dcfk2BjG0d+AQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hIoVBeeV; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hIoVBeeV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 827EE1F000E9; Wed, 24 Jun 2026 18:58:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782327484; bh=Af4XD/ouRJvvqCbWhKz0tP+oyjuF5TKwSII9+SIi0QA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=hIoVBeeVF3oEUf8DW0ejCzXUvYaJ6xNqCiEgif6ILJqJYqWD8x7XFo+NfkFHvwG6+ 0/A3SFCEzdjxo1DAI6u0dIM1w7nrS7V8WgPkEtxu9fv9F2Cv+wp5RiJGan3X8Rw4DV lktTRJ8AxxwxcdSkkUH8sNENsdEBaIseoFNCscARuDU8vEntuJw2Pw2Izdf/mjm1EC JI/Nao0FORHmQ0tp9WnU1Trft5l6zNLnU0ZuCQ98DgEuIXkiKOR1HpCfSzKY11GvyV AUu6J6vXjoDl88kgdF+LGXHnbuBg2dW2sVtiCIcjQAT8sFZNCJMRdCUIp+IgWE+ckd B9EoxX3VS2nLA== Date: Wed, 24 Jun 2026 08:58:03 -1000 From: Tejun Heo To: Yousef Alhouseen Cc: jiangshanlai@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tools/workqueue: parse help before importing drgn Message-ID: References: <20260624123336.7547-1-alhouseenyousef@gmail.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=us-ascii Content-Disposition: inline In-Reply-To: <20260624123336.7547-1-alhouseenyousef@gmail.com> On Wed, Jun 24, 2026 at 02:33:36PM +0200, Yousef Alhouseen wrote: > wq_monitor.py and wq_dump.py import drgn before argparse can handle "-h". > That makes help fail on systems where drgn is not installed, even though > the scripts do not need drgn to print usage text. > > Parse arguments before importing drgn so the help path works without the > runtime debugging dependency. Normal execution still imports drgn before > reading kernel state. > > Signed-off-by: Yousef Alhouseen Applied to wq/for-7.3. Thanks. -- tejun