Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6215366rwi; Tue, 18 Oct 2022 09:26:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6WtN2vOdVJnm+q2M1ig7O73li41hEmOkbzCtiww8udwz2q/6qGjJjG2Q1AvAlvTZJASSLN X-Received: by 2002:a17:907:a46:b0:782:1c1c:8141 with SMTP id be6-20020a1709070a4600b007821c1c8141mr3076081ejc.549.1666110410300; Tue, 18 Oct 2022 09:26:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666110410; cv=none; d=google.com; s=arc-20160816; b=N1Hr4T9K1ziwLZqxi+yF9ym274IusXuhcZ4sLdJdG7plyVtuwvc1i1/ZGFMBH4h7Qt oGbfGDvnqFHmDfS5qOhHs/wq8XQ34BWMP1Qzbq9FmrgPgtGGhIZTe5KhyiBpE40DfOOY beOUMk8K9GVlLm48qdx04RELJtd5BSMa+NJO0aR5QZwes6n5iJYP0legOK9Um+zs9k7b rz8vyuceoDuFIVgjrqCABhVM6HRdnhbUboHL0ubCUotiFJxw3BNujdPABUQWNBN8WMqi 504O4UwY11Utk0arE96MRElt7nJqdUBMdjaVbEGQH5SfkeGlns34JlZ5JmjvlXbxLxM9 ELUA== 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:subject:cc:to:from:date :dkim-signature; bh=1qOrqSHqW0Jog+XcHPnLHtZeTozxsE1nzYjtfrc15kM=; b=ye5bRm8+NWZhfv6QJnkuycx/y6arpktUvlFozuVVz6IbDhc9aWlOApNjVIc+4VCedF gGa05LLhxeoyLNX3LcfirM5eDFqZLieiS/0mzS4Wpxi06sWHyzh010MpDcfqeWLwexyU Z+a70eVBfbuepZ3ZFPWsXGKdXbSNp1xMcM19E3tGM1TVaXtDXGbpF9EcZ/oy7B+oMjUT UKp4XzQXZwv5oQUmdOZD3fLJy2jizq3R1BTdxlkqVT9qXroh05bRvrgX6W/jCwAiw1Wt uDKS6qn3+IQqpCA+5AGDTYzMGkZfK8QjuKc9i23cqZz9rYu26a+n3lvHBKyujij+szP2 m/mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="aE/lteKL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp6-20020a1709073e0600b0077ea290986fsi14286899ejc.584.2022.10.18.09.26.24; Tue, 18 Oct 2022 09:26:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="aE/lteKL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230262AbiJRPbp (ORCPT + 99 others); Tue, 18 Oct 2022 11:31:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229962AbiJRPbm (ORCPT ); Tue, 18 Oct 2022 11:31:42 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A86B2AC3; Tue, 18 Oct 2022 08:31:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 7D874CE1E56; Tue, 18 Oct 2022 15:31:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1FA86C433D7; Tue, 18 Oct 2022 15:31:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666107098; bh=pMThLmUe8JKgBwypU3pW171ZlDw9EFP2zQHNHLDHkNc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=aE/lteKLYkpQIaxj+t6CKbzC6+OCv4xdaA+0IvGQ9NWND6iOe1ymAvzXalzcU6re2 wAoq3Tf2IqepDfU97rdNXKx1wjX79O0ort4Zb5lOhrrO+UaeymThUpqUV/UA6YJwQh /pYl3lAU1JwcY+b4/EbgiWthxzUaiKnTaHcENLJArxS5KkJesZ/8gw/8C/pAXbeS8w L1YsY0flUH3Da7+Qxl8bvJXfTMD5jURIeEruAVofSY2fGMDiTV1UGAWmqI3mBVHwwS 4hyJCdvnqJCPwrnAPDvHUjd/GI8p/wz3KLsdkUeqdcvc9/ShTvasCYtyS9kIwY1DxU A0wIpCDD/9Zkg== Date: Wed, 19 Oct 2022 00:31:34 +0900 From: Masami Hiramatsu (Google) To: Zheng Yejian Cc: , , , , Subject: Re: [PATCH -next] tracing/histogram: Update document for KEYS_MAX size Message-Id: <20221019003134.cc24bd624cc6fca06a05206c@kernel.org> In-Reply-To: <20221017103806.2479139-1-zhengyejian1@huawei.com> References: <20221017103806.2479139-1-zhengyejian1@huawei.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Oct 2022 10:38:06 +0000 Zheng Yejian wrote: > After commit 4f36c2d85ced ("tracing: Increase tracing map KEYS_MAX size"), > 'keys' supports up to three fields. This looks good to me. Acked-by: Masami Hiramatsu (Google) Steve, do you this this document fix should go into the stable trees? Thank you, > > Signed-off-by: Zheng Yejian > --- > Documentation/trace/histogram.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/trace/histogram.rst b/Documentation/trace/histogram.rst > index c1b685a38f6b..87bd772836c0 100644 > --- a/Documentation/trace/histogram.rst > +++ b/Documentation/trace/histogram.rst > @@ -39,7 +39,7 @@ Documentation written by Tom Zanussi > will use the event's kernel stacktrace as the key. The keywords > 'keys' or 'key' can be used to specify keys, and the keywords > 'values', 'vals', or 'val' can be used to specify values. Compound > - keys consisting of up to two fields can be specified by the 'keys' > + keys consisting of up to three fields can be specified by the 'keys' > keyword. Hashing a compound key produces a unique entry in the > table for each unique combination of component keys, and can be > useful for providing more fine-grained summaries of event data. > -- > 2.25.1 > -- Masami Hiramatsu (Google)