Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7272240rwr; Tue, 25 Apr 2023 10:23:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4fwRpP6l7ltDClDPCISH2DMHZfGMejRdEZPlQGqKZ0KYV28Ki3HsYJ1fPGvtqrmf5YZzXL X-Received: by 2002:a17:902:e546:b0:1a9:90bc:c3da with SMTP id n6-20020a170902e54600b001a990bcc3damr2905448plf.11.1682443432786; Tue, 25 Apr 2023 10:23:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682443432; cv=none; d=google.com; s=arc-20160816; b=qZ8a/2GwoE7WE6qLcmR/KL2+yaCrAfh22WuMppek8X0gCqVp6WbPwBes3lVTqwqlPV +MkvTyxXpS5JHGp8zzQLLSy7/poyKQFhuAFi7v2v0liTkxXyqNnzem7Y4w/ZsTKwMNNc nQnbF89SNFjQPvSLiycTJEZI/nbeuhOO9biwQeARnR+K75aUBIxlJ+Z3Yxayo0BZpzMs gCHP+HgjiwnB60tIzz6TQYv5JKGTdy5DVSqI6+4BJWq4conK8KluUbTOOx6B1yO7MxE1 k4amRUZlGF3+63y0bOVJgWVWKLJP+epfNOY8NxoYSoZ5FPnUShPbFJQGKyGIQCw+vHUn mAoA== 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; bh=3Z9btcimaCXvmWVBIfLTFzG/ghvmVDQC7rIT3NZHj/o=; b=XntttVCDxh3y5WHb2JRKqwI0L37vz3hL/DtZTSWwcyYYL+Cu+r4sk4XeFo/PouYu1c GHsNlADPrJ2RHAHBOU/+75pQCom3hGNkG4bdbHQ8dCNoQ6Ws3VEZxQxbHgaSL8EnuRLD 7xA1IkUrcs+ShHSdChfcyxV48d1zFMQOAfKpzTGjqYV/0enD5PjQz9JjGytolSARoFRB gPpRxEB/2QbLvbRB1AYAzYG35vhGdscx26aT95AwkKfg5W4DZ129R7GIm/v/b538e6lb EBzhBBD/VCUZxkAULmrCGw4D0KzYgwFSe2R41uNgUtzwfzuSVpGnl627x9qevncMcr7s reJQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kp12-20020a170903280c00b001a64a2b7921si13312810plb.8.2023.04.25.10.23.39; Tue, 25 Apr 2023 10:23:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234650AbjDYRUf (ORCPT + 99 others); Tue, 25 Apr 2023 13:20:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234084AbjDYRUe (ORCPT ); Tue, 25 Apr 2023 13:20:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 945D1E5F; Tue, 25 Apr 2023 10:20:33 -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 2EE0662647; Tue, 25 Apr 2023 17:20:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DA29C433D2; Tue, 25 Apr 2023 17:20:31 +0000 (UTC) Date: Tue, 25 Apr 2023 13:20:28 -0400 From: Steven Rostedt To: Alan Maguire Cc: "Masami Hiramatsu (Google)" , corbet@lwn.net, shuah@kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH tracing 0/3] tracing: support > 8 byte filter predicates Message-ID: <20230425132028.7d16e04c@gandalf.local.home> In-Reply-To: <9c4cebb7-514c-f7fd-1f95-50837460eb66@oracle.com> References: <1682414197-13173-1-git-send-email-alan.maguire@oracle.com> <20230425233233.2ad5168c630b4c1349ab3398@kernel.org> <9c4cebb7-514c-f7fd-1f95-50837460eb66@oracle.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 X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Tue, 25 Apr 2023 18:15:03 +0100 Alan Maguire wrote: > that's a great idea; what would be the most consistent ftrace syntax > for this do you think? I noticed that hist triggers append a modifier > to the field name so would something like > > "dst.ipv6 == ::1" Yeah, I think just having ":" in the name without quotes can help the filter know that it's a ipv6 id. Hmm, although we may want to do the same for mac addresses. But we can determine the difference by the field size. If it's 6 bytes, it's a mac, if it's 128 bits, then ipv6. -- Steve