From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FE73C43334 for ; Fri, 8 Jul 2022 20:18:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238996AbiGHUSf (ORCPT ); Fri, 8 Jul 2022 16:18:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238380AbiGHUSd (ORCPT ); Fri, 8 Jul 2022 16:18:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0663E5F96 for ; Fri, 8 Jul 2022 13:18:32 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 978A862879 for ; Fri, 8 Jul 2022 20:18:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9521CC341C0; Fri, 8 Jul 2022 20:18:29 +0000 (UTC) Date: Fri, 8 Jul 2022 16:18:28 -0400 From: Steven Rostedt To: Cong Wang Cc: "Subash Abhinov Kasiviswanathan (KS)" , David Miller , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Linux Kernel Network Developers , quic_jzenner@quicinc.com, "Cong Wang ." , Qitao Xu , Sebastian Andrzej Siewior , Ingo Molnar , Sean Tranchetti Subject: Re: [PATCH net-next v2] net: Print hashed skb addresses for all net and qdisc events Message-ID: <20220708161828.70d108f2@gandalf.local.home> In-Reply-To: References: <1656106465-26544-1-git-send-email-quic_subashab@quicinc.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sat, 2 Jul 2022 21:36:19 -0700 Cong Wang wrote: > > Matching skbs addresses (in a particular format) helps to track the > > packet traversal timings / delays in processing. > > So... how didn't you notice the duplicated addresses with hashed ones? > It is 100% reproducible to see duplicates with hashed ones. Yes the hashes are reproducible giving the same address for this exact purpose (to match like addresses). I'm not sure if your last sentence was a question or a statement (it did not end with a question mark). But I agree with this patch that the trace events that reference the same address should be consistent in its use of %p and %px, where it uses one or the other and not mix and match. Because the value itself may not be important to a trace, but knowing that the value is consistent throughout the trace with different tracepoints is. -- Steve