Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp484599rdb; Fri, 26 Jan 2024 01:21:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgCGjG5Z/+RoG1Hbg8RtRTwPCHA+5IoxjUy7uRNl0x2T49XxGGzouMIwTSEopKYwIOlknb X-Received: by 2002:a2e:3204:0:b0:2cc:9ec8:fc5a with SMTP id y4-20020a2e3204000000b002cc9ec8fc5amr533911ljy.39.1706260910230; Fri, 26 Jan 2024 01:21:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706260910; cv=pass; d=google.com; s=arc-20160816; b=abUxEqg+tsSZNXcpdg9j4MLwSkWZ/G0UIy6tQOel1Pdpb6K0SYgNjiP2VyFXE61oVB m0GOkqmf9bGKCu4Ks8sQ5HbeuW9LTgcXxyfyYlj0r7UczHemi3lJtPCH1dTLobL/2+5h FcaVmWFGY2xgLW1zxDaa98wqp4SqRFClpc2OBnUUUKT11f0XGE+1rkPYLLIEPyt4aKSd jRrluc+1ulNZ+wkI7ceMSlWlgYGQqY5wnDyGkcj2gyDPPUdCE/izyAUPzyBvdnb0FG4B CJVqEBfxFyoWQ8k5b9ExgqgnLedvqVoo+uhl4DBp5cLYh31LjoanmngLpKc8Abo7Bhem +Vzg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HSrHQZvaP0ykbKDhrUoGu3IZMLvnpMMUqhqC7/0YNy4=; fh=Abo8xoie4w+FF10CweFWIQDzFtUQws6999EoVi0FlsI=; b=TlED5fJk/F92oHsdB/f8IhEXBDwp/Ak+irpFNvX9jrHAFcfcyYB4n70S1O+1BdP6su B1zHCpsDN5Wm0K3djerq+JJM1hgl5RCiw4ZKtB/xnl1yitHabI6NxRT1+VmwZNVrJBj2 TYsGvz5IsWGqCJFLZGs9o+5AHN2AGvoTR63T/z26e1YI1U2BYhlcyFMiIvcwDp+VBbDB WUEYqb32JqBiq/KITC39JjXoYRJxfOoMVRyEssTkqXk2EZw0ogn3qY/9YnuZ3IjrFki5 NajDj0fqI80EvEz1xTQYFtFu/jNGrjH0unvtCnyYFSWjQP0v+s92rQA/4brCXjdp0U7r jc1Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EjMDqSpr; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-39779-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39779-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id mc10-20020a170906eb4a00b00a3281ba645asi385597ejb.178.2024.01.26.01.21.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 01:21:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39779-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EjMDqSpr; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-39779-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39779-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id CF11A1F284F6 for ; Fri, 26 Jan 2024 09:21:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB00B1CF81; Fri, 26 Jan 2024 08:39:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="EjMDqSpr" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 6CFA61C295 for ; Fri, 26 Jan 2024 08:39:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706258378; cv=none; b=JszIUzKvmE3B1WQ6t5IR20FdZcPqLiwj6wgs3JNebjZe1FROH/m40stP+VTUU4MGkXJMsmhh8CwZeyZOhBpnzv1mxh7Mu37ZZdsiS1t96FRdtHDGmLOkQy1MIIrCDXiBrAWYcSlMSA+4kvRxSE497/0wHqXln2Ho3UuQCMmvwCY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706258378; c=relaxed/simple; bh=/ZExn/vuFRbWZ0XKt1iPU3BjOB9+pjTpfC4eFtC/r/0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HP7+3/0UfLOWbsqgc+ihvjsMpfWwhH1sSS8M55+4X0FduBg0D2QXmoViIjZT/agHc0u8kKH4mhXus2pP34qyi9No8YFSl3bw8znQbckMwXeEGV9CWy/IcelspM6xawqvkQOSZ/HurnI4tL95agbz2/KKuh6PtZvyEHnYCGEzj1I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=EjMDqSpr; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706258375; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HSrHQZvaP0ykbKDhrUoGu3IZMLvnpMMUqhqC7/0YNy4=; b=EjMDqSprCCUPv/X2GQJ5qogV3vqMd958KyzjVAkVlAzpr2J02iLkIKgqq73YGX8Ol07E9p vdsWromPVegJPrOm1jfVnRWUP75P852ttT8CoBPMk+GO6TplLDIu8Sd5ud+W3P4eT0eAUt otqiCUzwizkgcgtj5jaG54Ut7uwBAsI= Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-683-om3G2RmaPemkZ3oWARd5Fg-1; Fri, 26 Jan 2024 03:39:32 -0500 X-MC-Unique: om3G2RmaPemkZ3oWARd5Fg-1 Received: by mail-oi1-f197.google.com with SMTP id 5614622812f47-3bdef76ae17so177006b6e.2 for ; Fri, 26 Jan 2024 00:39:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706258372; x=1706863172; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HSrHQZvaP0ykbKDhrUoGu3IZMLvnpMMUqhqC7/0YNy4=; b=sRb8OG/dMtPmz2MmWofLb/oORlzuR5UR3cZ7dkyI8IaqiwJEbEp9e+TiIqiC0lhsV/ 78qTcb2cWdgph2n4luKIuRGJGd1iiaWHz4aDPoylcyc2E9Qqjjn7ei6HpPW+ecax4nG/ gVGSzjJT2cJf6fMddgf8bD3qvMBA8jQiXeQThCiQHSArlQG61mzYRgYgq+a+3mgy8c2W DfQdwdU6mUn0MOgUj7z7+aSd3zsfvjioM9ae3r+CZ2UW1Yazjb29QYNlLJNDInGyTApl Er8AOtEPSvTJv3ECBrbR9clneS6sHpDOtNDtodzz8Nb38LFt4303ibeOzeTS1i3fbmez RvIg== X-Gm-Message-State: AOJu0Yw4jVYFYn8EZvkCI7c5tHNoaax6RG5QJADFJJ/Jt4Uz4rIuoRTs KxxlJEaYaMc+cRrzrcBf3iBU3tAEiNK+8DIRvz+SNsLsIwJFY0swKepcvlqml5B4o00lqn/nzaJ Sv2Vh8Otjw0ygh0NlJ59MVIfJ9jGfBMz71BqlpVTU5obNcGBdX+00G7A6gVcJQw== X-Received: by 2002:a05:6808:1411:b0:3bd:f2fe:6fe with SMTP id w17-20020a056808141100b003bdf2fe06femr273114oiv.52.1706258372217; Fri, 26 Jan 2024 00:39:32 -0800 (PST) X-Received: by 2002:a05:6808:1411:b0:3bd:f2fe:6fe with SMTP id w17-20020a056808141100b003bdf2fe06femr273106oiv.52.1706258371884; Fri, 26 Jan 2024 00:39:31 -0800 (PST) Received: from localhost.localdomain ([2a00:23c6:4a05:9f01:cede:7b45:1f9d:67f]) by smtp.gmail.com with ESMTPSA id cp10-20020a05622a420a00b0042a7e2b45cdsm250836qtb.1.2024.01.26.00.39.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 00:39:31 -0800 (PST) Date: Fri, 26 Jan 2024 08:39:28 +0000 From: Juri Lelli To: Tejun Heo Cc: linux-kernel@vger.kernel.org, Lai Jiangshan Subject: Re: [PATCH wq/for-6.9] tools/workqueue/wq_dump.py: Clean up code and drop duplicate information Message-ID: References: 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: Hi, On 25/01/24 06:21, Tejun Heo wrote: > - Factor out wq_type_str() > > - Improve formatting so that it adapts to actual field widths. > > - Drop duplicate information from "Workqueue -> rescuer" section. If > anything, we should add more rescuer-specific info - e.g. the number of > work items rescued. > > Signed-off-by: Tejun Heo > Cc: Juri Lelli > --- > I'm applying this to wq/for-6.9. Thanks for the heads up! Looks good to me. Tested-by: Juri Lelli Best, Juri