Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp345001rdh; Wed, 7 Feb 2024 06:33:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWs6elRYu3d04rFCLrng8LgIU0Gk6c46pJhrbE4h+mFy6Mjve0RFbntgeGUt8nT2lGM/KMaDl4dPlgLQf5zoolff5o3eR8Wl6ckjcXR0g== X-Google-Smtp-Source: AGHT+IGpC9T9NE9YbG+4wjiddBT+KGyn+0+5MkI/c4FOuV08ldItTjG8yJw224SNH9YuX1Jf5KEM X-Received: by 2002:a05:622a:341:b0:42c:ec0:e825 with SMTP id r1-20020a05622a034100b0042c0ec0e825mr7992949qtw.36.1707316394255; Wed, 07 Feb 2024 06:33:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707316394; cv=pass; d=google.com; s=arc-20160816; b=cuui7TtXQImNWCauBk6L/HDWMWqABNkaYfEiJUgUWen7Wc0m8Ly5TA9lQpV8edF2Qg tmkVCNjFY7kFn68HOkNNWdpZApU4x/PGlaSx6itz+cPMzzVMlqnip6aSHBWQx4F7XHz3 yEikaXJFxjYUmpGVo3COP+BUzgXMzn+7sGIchFRQlNGQgsBeP11rY836MvCUSXbqS+ZE sFBFlj52amFG5i6RHsXz84FWcczK5BjFB9TYBg7H7zKbjqZFTNwbaG6PA0QsYByMJwjf hv/E6tET7kaMjUZFkwyew9nfSi7KpyS15KRMwAqhkyF5xyF9MZwLnpIUoer9TMVrb3UD GJiQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=gEX3Utq0loS7OwLg6Fnx2tqnFkjVgm3gFCqzZYB2ddI=; fh=vnxv3XB/ViIREMh+zByP65bKwVrqv7cKFIGmaWJSp80=; b=Mt64J6HzZaccong4YnFvdgIJqrKsMSXGLj/r7CRIcdtPEUA9VfVFCsqhFC95rMM9tl Kv+X9VsL1uc15EH84tNR2TUdztA0itwN/swII5Q4/eEoqzC6txkFFzGU6RgeEWH3gcCa Y3nKBt4T23PFuMaex01rg6NTJSeaHOJ1BCZDZoL2YHhYDyMQz7jPokRmtz0WFw4dO8V2 ioGQyiZBeduub1zQbzEgDcma+0i/UeqhKSMo+NqUmZtbahk9W2GmcvQgFs4aVf7++WJK IjcWj1VUr3uj+1aXnMdyyf1/CGy/SIzAGnri53aNitMBXHOpVYLMV3YgUhfrN2HfN9xM 5n+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jLmYWPV6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-56626-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56626-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWGrwWftvD2ocAo3J15VT8yJNyNGGSTWEio5JGrOynFLASv+ESsb1vgyo5TueQsfVOH+1qoUkd1/gl5fymeVsLNyTia8ZcySxwxtDmGyA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h12-20020a05620a13ec00b007833d053697si1163616qkl.658.2024.02.07.06.33.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 06:33:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56626-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jLmYWPV6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-56626-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56626-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 05FDD1C2478A for ; Wed, 7 Feb 2024 14:33:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CF2CFC0A; Wed, 7 Feb 2024 14:33:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jLmYWPV6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4ECA17D400; Wed, 7 Feb 2024 14:33:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707316381; cv=none; b=qaS8a/T5B0jyBQlRDEB/SFHFwmGgjXZznnBs5nr/cUp5yP8CCGn5it1HHeEkHbWOX+pIjPq5Sx2UKKYzeTAGZbDiy1pKQAmBiYwiVX4Lg+aHOCR4Y0y/n2K+oi3PZJJJg5naiGn5bpeFK9hduGh0Z1KA55Wu00fG0nQrXSBfQgo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707316381; c=relaxed/simple; bh=bxJjQ8zp5/wZKAbX888sLrtd1GMsGHbQwFH2TFebIu4=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=bUFjPzebDKhwJ4g84L2ogxDntnKpwMOMim9LoHc+DYoiIRPui/VFLocex3EJDIktJk/mmjCHP90vRmzvD9qnxAsW1HgUW6Y7X9SWgSF45iI0yJ68v2jBLLIg1a/r+6LrnQb1TspRmtx6yqHmEtl9YI3Pjkj7KSJnb2pByz/AGWY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jLmYWPV6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 552A5C433F1; Wed, 7 Feb 2024 14:32:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707316380; bh=bxJjQ8zp5/wZKAbX888sLrtd1GMsGHbQwFH2TFebIu4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jLmYWPV6/fdm2GhyY4zcVd6HgReI0ZB643YZyPfHeJFnoIVNWL8agn9BuQ0yCnF6p wth+Ov6bgfMxWLjC10FJFU/DPrOpgqTyImbfV4h52d6P/ewbfgJE7CtyB1gHLoqOBE MkmMBkDDYGwxni3Qeyoo3LjI4naUbnMiN/I4zD+eIRFlo7z08svxe9bh+QF+0ode73 tkP1e7FYr4oIGEfit58tzrY4WLLDKe1H7czBjr8kBCaDHuDoJhKLYPjlb8x80PMgNL OS5bH/0hCMurWyPH/US5ZB871BiN952jcv48y1yDriT81U6IrJOrIoJxn375ijrhBs +Bkm3ZGB4JQnw== Date: Wed, 7 Feb 2024 23:32:56 +0900 From: Masami Hiramatsu (Google) To: Ye Bin Cc: , , , Subject: Re: [PATCH v5 5/8] tracing: add new type "%pd/%pD" in readme_msg[] Message-Id: <20240207233256.10fe8dbc8451d5be8bb6ecd1@kernel.org> In-Reply-To: <20240125073923.2252057-6-yebin10@huawei.com> References: <20240125073923.2252057-1-yebin10@huawei.com> <20240125073923.2252057-6-yebin10@huawei.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Thu, 25 Jan 2024 15:39:20 +0800 Ye Bin wrote: > Signed-off-by: Ye Bin > --- > kernel/trace/trace.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c > index 2a7c6fd934e9..13197d3b86bd 100644 > --- a/kernel/trace/trace.c > +++ b/kernel/trace/trace.c > @@ -5745,7 +5745,7 @@ static const char readme_msg[] = > "\t +|-[u](), \\imm-value, \\\"imm-string\"\n" > "\t type: s8/16/32/64, u8/16/32/64, x8/16/32/64, char, string, symbol,\n" > "\t b@/, ustring,\n" > - "\t symstr, \\[\\]\n" > + "\t symstr, %pd/%pD \\[\\]\n" Almost! you missed the ',' after %pd/%pD. :) Thank you, > #ifdef CONFIG_HIST_TRIGGERS > "\t field: ;\n" > "\t stype: u8/u16/u32/u64, s8/s16/s32/s64, pid_t,\n" > -- > 2.31.1 > > -- Masami Hiramatsu (Google)